![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| Linux RedHat, Ubuntu, SUSE, Fedora, Debian, Mandriva, Slackware, Gentoo linux, PCLinuxOS. All Linux questions here! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| NFS write failed for server.....error 11 (RPC: Server can't decode arguments) | sap4ever | SUN Solaris | 3 | 05-08-2008 05:20 AM |
| Script runs fine on UNIX Server...Not through MSK Tool kit on Windows Server | madhunk | UNIX for Dummies Questions & Answers | 5 | 01-31-2008 10:30 AM |
| Axigen, A Fresh Approach for Mail Server Admins - Server Watch | iBot | UNIX and Linux RSS News | 0 | 07-12-2007 02:20 PM |
| Transfer file from local unix server to remote server | indira | Shell Programming and Scripting | 2 | 05-03-2007 03:35 AM |
| Dowloading a File from FTP Server to a local Server where User Id's are different | ranjith_taurean | Shell Programming and Scripting | 1 | 02-22-2007 04:47 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Web Server
Hi,
my Linux server has two IP adresses. I want to make an apache web server on it. 1- in which apache configuration file I should write IP adresse for broad casting ? 2-how to be sur and verify on which adresse is it broad casting ? Many thanks before. |
| Forum Sponsor | ||
|
|
|
#2
|
||||
|
||||
|
Which of the two IP addresses is used by users accessing your system? Suggest going with that IP address for your webserver. If you have DNS, run a nslookup on your hostname and use the IP that it returns. Also, to make sure that the webserver is listening on the correct IP, just open up a browser and type in your hostname. If the webserver is correctly setup, you should get some sort of default page (or your own page, depending on the configuration).
|
|
#3
|
||||
|
||||
|
In response to point 1 that is configured in the httpd.conf file. On a default install of Apache 2.X this file will be located at:
/usr/local/apache2/conf/httpd.conf There is a section in the file which will be as follows: Code:
# Listen: Allows you to bind Apache to specific IP addresses and/or # ports, instead of the default. See also the <VirtualHost> # directive. # # Change this to Listen on specific IP addresses as shown below to # prevent Apache from glomming onto all bound IP addresses (0.0.0.0) # #Listen 12.34.56.78:80 Listen 80 Then to test it you can do as blowtorch mentioned or if you haven't yet assigned a DNS name then just put the IP Address in. Do this for all IP Addresses on the server to make sure that apache has taken the changes and is only running on the IP Address you specified. |
||||
| Google The UNIX and Linux Forums |