LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   Apache and Virtual Hosting (https://www.linuxquestions.org/questions/fedora-35/apache-and-virtual-hosting-247725/)

gcobb 10-26-2004 09:49 PM

Apache and Virtual Hosting
 
When I was running the earlier version of Apache I hosted a domain and had it set up so that host could have its own IP address. Now that I upgraded to Fedora Core 2 and Apache 2 I can't get it to work with the same entries in the httpd.conf file. Here's what I had:

<VirtualHost 24.123.197.100:80>
ServerAdmin webmaster@1171st.com
DocumentRoot /var/www/html/1171
ServerName www.1171st.com
</VirtualHost>

It tells me the server refused my connection.

I also tried it without the :80 in there.

Is there anything that changed with Apache where I am going to have to do something differently to host that domain? My web site main IP is .98. Would there by a module that didn't install or something?

Any help would be appreciated.

david_ross 10-27-2004 03:06 PM

Is the server set up with that IP address?
ifconfig

Is apache listening on all interfaces?
netstat -nlp | grep 80

gcobb 10-27-2004 07:20 PM

Quote:

Originally posted by david_ross
Is the server set up with that IP address?
ifconfig

Is apache listening on all interfaces?
netstat -nlp | grep 80

The server is .98, the domain I have been hosting is .100 both being on port 80 of course. Here's what came back from the netstat:

tcp 0 0 0.0.0.0:8000 0.0.0.0:* LISTEN 21662/WMws
tcp 0 0 0.0.0.0:7111 0.0.0.0:* LISTEN 29780/dlist
tcp 0 0 :::80 :::* LISTEN 26728/httpd
udp 0 0 0.0.0.0:32880 0.0.0.0:* 21662/WMws
unix 2 [ ACC ] STREAM LISTENING 361806 24936/magicdev /tmp/orbit-ybnorml/linc-6168-0-78575033ca0b9
unix 2 [ ACC ] STREAM LISTENING 184802 9590/evolution-womb /tmp/orbit-root/linc-2576-0-22b98073d8472
unix 2 [ ACC ] STREAM LISTENING 13740 9037/bonobo-activat /tmp/.ICE-unix/8980

I couldn't tell you if that looks right, I just know everything is working, outside of a few programs just refusing to run.

Thanks for your reply, any help is appreciated.

david_ross 10-28-2004 12:54 PM

Quote:

Originally posted by gcobb
The server is .98, the domain I have been hosting is .100 both being on port 80 of course.
How are these configured on the server? Are they aliases or 2 seperate adapters? Are both IPs definately associated with the server?

The netstat output looks ok.

gcobb 10-29-2004 12:10 AM

There is only one adapter. As far as I know, I have everything set up the way I did before I went to Fedora. I could probably enable the onboard adapter if I had to, especially if that make this easier.

Thanks


All times are GMT -5. The time now is 07:36 PM.