Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

How do I set up IIS so that the server's IP address resolves to a virtual directory in the default website?

Posted on 2009-02-11
9
Medium Priority
?
223 Views
Last Modified: 2012-05-06
Hi - We are running IIS 6 on a dedicated web server. There are two virtual directories set up within the Default Website. The host header value is blank - ie (server ip address | 80 | <blank>)
- Right now, we can access the two sites on the web server using http://localhost/<virtualdirectory>
- We'd like to be able to access the site from outside the server - serveripaddress/<virtualdirectory>

Is there any way to accomplish this without creating a new website? Ie, keep the IIS structure as is.

Your feedback is appreciated.
0
Comment
Question by:JFranks22
  • 5
  • 4
9 Comments
 
LVL 41

Expert Comment

by:Kyle Abrahams
ID: 23615259
As long as IIS is configured to serve all IPs there should be no issue with this, should happen automatically.

0
 

Author Comment

by:JFranks22
ID: 23615586
I've confirmed that the IP Address field on the Web Site tab of the Default Website is set to (All Unassigned) with the only identity being:
Default     |     80    |    <null>
There are no other websites.

When I go to http://<ipaddress>/<virtualdirectory> I get the following messages:
IE - Internet Explorer cannot display the webpage
Firefox - just times out.
What else should I check?
0
 
LVL 41

Expert Comment

by:Kyle Abrahams
ID: 23615612
can you ping the ip address?  

What kind of routers or what not?  It's most likely a networking issue, but to confirm that on the server can you hit the URL by IP from there?
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:JFranks22
ID: 23617135
I can ping the IP Address.
Packets: Sent 4 Received 4 Lost 0
Minimum = 95ms, Maximum = 96ms
If I go to http://<ipaddress> on the web server , I get an Under Construction message
If I go to http://<ipaddress>/<virtualdirectory> on the web server, I get the website just fine.

Does this prove your networking issue suspicion?

I have TS access to the server,  but I am not sure of the routers that are being used by my client. What should I ask and check on the routers?
0
 
LVL 41

Accepted Solution

by:
Kyle Abrahams earned 2000 total points
ID: 23617230
on the router port 80 should be forwarded to IP of the webserver.  
443 as well if you're using SSL.
0
 
LVL 41

Expert Comment

by:Kyle Abrahams
ID: 23617243
internally if everything is working fine it is a networking issue.

Can an internal machine (not the server) hit the website via URL (just to absolutely confirm).
0
 

Author Comment

by:JFranks22
ID: 23619876
we'll do some more checking in the morning and i'll get back with you... THANK YOU!
0
 
LVL 41

Expert Comment

by:Kyle Abrahams
ID: 23622222
just adding a comment so my icon gets reset.  Let me know if it's the case.
0
 

Author Comment

by:JFranks22
ID: 23625649
Opening port 80 in the firewall resolved the issue. Thank you very much!
0

Featured Post

Veeam Disaster Recovery in Microsoft Azure

Veeam PN for Microsoft Azure is a FREE solution designed to simplify and automate the setup of a DR site in Microsoft Azure using lightweight software-defined networking. It reduces the complexity of VPN deployments and is designed for businesses of ALL sizes.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…

580 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question