Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Need help with HTTP

Status
Not open for further replies.

blackreaf

ISP
Mar 3, 2003
22
0
0
US
I am working with a linux RedHat 9 server and I have the main domain working great but I can't seem to get any of the virtual domain to work. I have them set as name based virtual host and I have also tried them as IP based and I always get the same thing and this is what it tells me

The Connection was refused when attempting to contact
I also can't seem to get any email to work any hint would be great.

Thanks
Stuart (aka not a linux man)
 
Some more info about this. When I ping the IP address of the virtual domain I get Destination Host Unreachable
and if I ping the ULR my DNS will find the IP address for the domain and then I get Destination Host Unreachable

I hopethis helps.

Stuart
 

Hi,

It sounds like you haven't got the ip number for the domain on the (correct) interface.

Check with ifconfig. Or maybe it's your firewall?? What's your Internet setup like??

Cheers

Henrik Morsing
Certified AIX 4.3 Systems Administration
& p690 Technical Support
 
I am behind a linksys firewall and have my server as the dmz. I ran ifconfig and this is what I got

eth0 Link encap:Ethernet HWaddr 00:E0:98:7D:33:97
inet addr:192.164.69.33 Bcast:192.164.69.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1303 errors:0 dropped:0 overruns:0 frame:0
TX packets:6437 errors:5213 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:835715 (816.1 Kb) TX bytes:842932 (823.1 Kb)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:64589 errors:0 dropped:0 overruns:0 frame:0
TX packets:64589 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:4431345 (4.2 Mb) TX bytes:4431345 (4.2 Mb)

If this is wrong what do I need to do?

Thanks
Stuart
 

Can you contact your webserver at all??

It sound like a firewall issue to me.

Cheers

Henrik Morsing
Certified AIX 4.3 Systems Administration
& p690 Technical Support
 
Yes I can on my main server domain but I can't on my virtual domains
I did do some changes and now ifconfig it is still doing the same thing but this is what ifconfig shows now.

eth0 Link encap:Ethernet HWaddr 00:E0:98:7D:33:97
inet addr:192.164.69.33 Bcast:192.164.69.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1464 errors:0 dropped:0 overruns:0 frame:0
TX packets:6912 errors:5564 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:964594 (941.9 Kb) TX bytes:899887 (878.7 Kb)

eth0:34 Link encap:Ethernet HWaddr 00:E0:98:7D:33:97
inet addr:192.168.69.34 Bcast:192.168.69.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1464 errors:0 dropped:0 overruns:0 frame:0
TX packets:6912 errors:5564 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:964594 (941.9 Kb) TX bytes:899887 (878.7 Kb)

eth0:35 Link encap:Ethernet HWaddr 00:E0:98:7D:33:97
inet addr:192.168.69.35 Bcast:192.168.69.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1464 errors:0 dropped:0 overruns:0 frame:0
TX packets:6912 errors:5564 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:964594 (941.9 Kb) TX bytes:899887 (878.7 Kb)

eth0:36 Link encap:Ethernet HWaddr 00:E0:98:7D:33:97
inet addr:192.168.69.36 Bcast:192.168.69.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1464 errors:0 dropped:0 overruns:0 frame:0
TX packets:6912 errors:5564 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:964594 (941.9 Kb) TX bytes:899887 (878.7 Kb)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:68797 errors:0 dropped:0 overruns:0 frame:0
TX packets:68797 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:4719873 (4.5 Mb) TX bytes:4719873 (4.5 Mb)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:68797 errors:0 dropped:0 overruns:0 frame:0
TX packets:68797 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:4719873 (4.5 Mb) TX bytes:4719873 (4.5 Mb)
 
I am still trying and I have posted this on Apache forum as well. I have yet to get a response yet. Any other thoughts??

Stuart
 
All is going well until I try to brows my site and then I get this

Your browser sent a request that this server could not understand.
Reason: You're speaking plain HTTP to an SSL-enabled server port.
Instead use the HTTPS scheme to access this URL, please.

How do I fix this proble?

Stuart
 
Thanks for all of your help. I am still working on this now my proble is that I am able to see my main domain but I can't even get any of my others working as Named Based Virtual Host. Does anyone have a clue how to do this? I when to apache and all there documents messed me up more than helped. LOL One other thing, I want to know if any of you still have all of your hair? LOL I am starting to worry about mnie, I seem to pull on it every time I work on this thing.

Thanks
Again
Stuart
 
Have a look at faq65-1831, it may solve some of your problems.
 
Why not try using Webmin if you can. The apache plugin bit will do all this for you, more or less then you can look at what its done and do it yourself next (if you want)
 
blackreaf, I noticed that you have a few IP aliases on your eth0 NIC. The 3 extra IPs are on a different subnet from your first IP address. Can other computers access your server using the aliased IPs you set up?

Please post your <VirtualHost> config.

ChrisP
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top