IIS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationIIS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old June 8th, 2006, 09:50 PM
bloody_football's Avatar
bloody_football bloody_football is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Location: Sydney, Australia
Posts: 13 bloody_football User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 4 h 32 m 3 sec
Reputation Power: 0
Send a message via MSN to bloody_football
Host headers not working

I have several web sites working on my server and they are currently all working on differant ports - this will change when I get the Host headers working.

Note that web names I use are not real but are shortened from their real names.

www.james.com (default) and www.emma.com are both at godaddy and forwarded to 58.105.224.107 (my real IP address) with no port numbers.

Side note : I have 2 other web domains forwarded on from godaddy with port numbers and they work fine.

If I type in james.com I get the right web page, type in emma.com and I goto james.com. So I read Microsoft help and learn about host headers (and done a google search).
I give both web sites a host header but then both come back with a 'page not found' error. I delete the host header for james.com and james.com works fine again, I try www.james.com as the host header and it doesn't work, I try james.com as the header and it doesn't work - I delete the host header and james.com works fine.

Where have I gone wrong?

On further investigation I have stopped james.com and only had emma.com working on port 80.
I have set up the host header as www.emma.com and I get a 'Invalid hostname' error.

Reply With Quote
  #2  
Old July 10th, 2006, 10:28 PM
CTI_Steve CTI_Steve is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2006
Posts: 1 CTI_Steve User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 17 m 7 sec
Reputation Power: 0
Angry Similar issue

Hi,
been having similar issue i suppose, not to keen on the whole setup or what IIS does behind scenes exactly so im having issues troubleshooting.

Problem, people can no longer access website served from my wwwroot folder through IIS.

Past, ran webserver for years problem free, this problem occured all of a sudden, i did not change any IIS or system settings. I have not installed anything new except Sygate firewall which I removed via add/remove programs.

I can access my sites from the host machine and from another computer in my home via the routered network.

My system sits in the DMZ of the router, always has.

The IP set in IIS matches the one given by the router.
My DNS etc is always updated with my IP and double checked, it looks normal. (no-ip.com) Great service.

Windows firewall is disabled, I use AntiVIR for malware protection, tried disabling it, no change.

Full router/modem/comp reset did nothing. Checked for IP change after, all normal.

Netstat returns the following,
TCP localhost:18350 ESTABLISHED
TCP localhost:1450 ESTABLISHED
TCP 192.168.2.1:1050 CLOSE_WAIT
TCP 192.168.2.1:1052 CLOSE_WAIT
TCP 192.168.2.1:1053 CLOSE_WAIT

No idea really if that matters. Shouldnt port 80 be listening?
I have no idea about these things at this level, though I am learning more and more as I TRY to troubleshoot.

Did installing Sygate suddendly disable a system service needed for IIS to function? Did Sygate alter a dll or file or something that IIS uses?
It may not even be related to installing Sygate, im just guessing since around that time it seemed the problem began.
Now with Sygate removed though the issue is still there.

Is there anyway to do a repair on IIS to restore its original operating files? Or a diagnostics program that will look through my IIS for problems?

Any help would be greatly appreciated.
Thanks,

Steve

Reply With Quote
  #3  
Old July 10th, 2006, 10:40 PM
bloody_football's Avatar
bloody_football bloody_football is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Location: Sydney, Australia
Posts: 13 bloody_football User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 4 h 32 m 3 sec
Reputation Power: 0
Send a message via MSN to bloody_football
Hi Steve

Unfortunatley I can't help you but my problem turned out to be that the DNS server I was using (godaddy) wasn't sending the host headers with the web address.
A quick email to their customer support and I got the reply wthin 2 minutes (I'm in Australia which means they had someone working there at 1 in the morning!) which told me how to fix my problems, I then fixed it and it all works now

James

Reply With Quote
  #4  
Old July 25th, 2006, 03:18 PM
upfront upfront is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2005
Posts: 36 upfront User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 18 h 12 sec
Reputation Power: 4
Quote:
Originally Posted by bloody_football
Hi Steve

Unfortunatley I can't help you but my problem turned out to be that the DNS server I was using (godaddy) wasn't sending the host headers with the web address.
A quick email to their customer support and I got the reply wthin 2 minutes (I'm in Australia which means they had someone working there at 1 in the morning!) which told me how to fix my problems, I then fixed it and it all works now

James


I also use godaddy and was wondering what info they gave you, I was planning on having 2 websites with different names and if I run into this problem it would be good to already know the answer.

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationIIS > Host headers not working


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway
Stay green...Green IT