Live Chat & Podcast at 1:00PM Eastern on Sunday!
There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
Search
Windows Server
Tag Cloud
access acer asus bios bsod computer crash desktop dns driver drivers error ethernet excel freeze gaming graphics hard drive hardware hdmi internet laptop malware memory monitor motherboard network printer problem ram registry repair router slow software sound trojan ubuntu 11.10 uninstall usb video virus vista wifi windows windows 7 windows 7 32 bit windows 7 64 bit windows xp wireless
Search
Search for:
Tech Support Guy Forums > Operating Systems > Windows Server >
Solved: IIS Webserver not working

Reply  
Thread Tools
Synt4xError's Avatar
Computer Specs
Member with 148 posts.
 
Join Date: Jan 2009
Location: Los Angeles
Experience: Advanced
14-Feb-2010, 06:53 PM #1
Cool Solved: IIS Webserver not working
I have a windows server 2003 server at home for lab studies. I am having some issues with the webserver in IIS. I installed IIS with FTP and Webserver being used. I have the FTP site working perfectly. I just can't seem to figure out why my HTTP isn't working.

Every time I type in the URL (My IP) in the browser. I get "Bad Request (Invalid Hostname)".

Here is how I have my network setup:

NetGear Router hooked up to my cable modem, I have the server running through 1 of the 4 ports on the router. I assigned the server a static internal IP. I have had people test my FTP outside of my network, that's how I know that works. I forwarded the port 21 and also 80 to the IP of the server. I also have DHCP and DNS enabled on it.

I am a bit lost on why I can't view my site and get that error, I have followed instructions to a T!!!!

Could it be a DNS issue? Could it be a port forwarding issue? Could it be an IP issue, do I need a static IP for the server or can I use a private IP?

Thanks for taking your time to help me out!
__________________
A world of hope is a world of happiness.
My Synt4x is your Error...
Squashman's Avatar
Trusted Advisor with 18,706 posts.
 
Join Date: Apr 2003
Location: 1265 Lombardi Ave
Experience: Bocks of Rox
14-Feb-2010, 07:14 PM #2
When you are on the Server what happens if you type in localhost as the url?
Synt4xError's Avatar
Computer Specs
Member with 148 posts.
 
Join Date: Jan 2009
Location: Los Angeles
Experience: Advanced
14-Feb-2010, 07:15 PM #3
Actually I fixed it, did some intense research and found out that if I leave the Host Header Value empty, it will work. Why is this though??? Can anyone explain that too me?

Edited:
If I do localhost, it brings up "The webpage cannot be found". But when I type in my public IP in the web browser, it takes me to my site with the test page showing. Any ideas why?
__________________
A world of hope is a world of happiness.
My Synt4x is your Error...
Squashman's Avatar
Trusted Advisor with 18,706 posts.
 
Join Date: Apr 2003
Location: 1265 Lombardi Ave
Experience: Bocks of Rox
14-Feb-2010, 07:21 PM #4
Quote:
Originally Posted by Synt4xError View Post
Edited:
If I do localhost, it brings up "The webpage cannot be found". But when I type in my public IP in the web browser, it takes me to my site with the test page showing. Any ideas why?
Is this when you are on the server and you open up IE on the server?
Squashman's Avatar
Trusted Advisor with 18,706 posts.
 
Join Date: Apr 2003
Location: 1265 Lombardi Ave
Experience: Bocks of Rox
14-Feb-2010, 07:24 PM #5
Quote:
Originally Posted by Synt4xError View Post
Actually I fixed it, did some intense research and found out that if I leave the Host Header Value empty, it will work. Why is this though??? Can anyone explain that too me?
What did you have in the host header?
You only really need to use the host headers if you are hosting more than one website.
Synt4xError's Avatar
Computer Specs
Member with 148 posts.
 
Join Date: Jan 2009
Location: Los Angeles
Experience: Advanced
14-Feb-2010, 07:38 PM #6
Localhost works on the server, sorry I tried my desktop haha!

The Webserver had the default site and the one I added, the header value was named the same name I gave the website. So now it works fine.

Squashman, thank you so much for your help, even though I fixed it, you gave me some great knwoledge. I really appreciate it.
__________________
A world of hope is a world of happiness.
My Synt4x is your Error...
Reply

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Search Tech Support Guy

Find the solution to your
computer problem!




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.
Thread Tools



Facebook Facebook Twitter Twitter TechGuy.tv TechGuy.tv Mobile TSG Mobile
You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 09:36 PM.
Copyright © 1996 - 2011 TechGuy, Inc. All rights reserved.

Powered by Cermak Technologies, Inc.