LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 10-26-2004, 09:49 PM   #1
gcobb
LQ Newbie
 
Registered: Oct 2004
Location: Southaven, MS
Distribution: Fedora Core 2
Posts: 24

Rep: Reputation: 15
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.
 
Old 10-27-2004, 03:06 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Is the server set up with that IP address?
ifconfig

Is apache listening on all interfaces?
netstat -nlp | grep 80
 
Old 10-27-2004, 07:20 PM   #3
gcobb
LQ Newbie
 
Registered: Oct 2004
Location: Southaven, MS
Distribution: Fedora Core 2
Posts: 24

Original Poster
Rep: Reputation: 15
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.
 
Old 10-28-2004, 12:54 PM   #4
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
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.
 
Old 10-29-2004, 12:10 AM   #5
gcobb
LQ Newbie
 
Registered: Oct 2004
Location: Southaven, MS
Distribution: Fedora Core 2
Posts: 24

Original Poster
Rep: Reputation: 15
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache Virtual Hosting abhijeetudas Linux - Networking 2 05-29-2005 04:26 AM
Apache 2.x Virtual Hosting vbfischer Linux - Software 3 04-21-2005 05:17 PM
Virtual Hosting with apache, i think... dengi Linux - Software 1 10-26-2003 09:43 PM
Help with Apache virtual hosting fin Linux - Newbie 1 04-30-2002 10:50 AM
Apache Virtual Hosting kmac Linux - General 2 04-12-2001 10:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 08:47 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration