mpones Posted May 24, 2011 Posted May 24, 2011 Hey there! I'm new to the forum, and I'm glad I found this resource, as I'm going to be learning server 2008 r2 and setting up a server... I have a few basic questions about networking it properly so that I can see it from the outside. I have the basic concept, I think, but it's not working at the moment... this is how I had it set up currently: 1- Business line from Cox with an external static IP, which I believe is using IP passthrough. 2- Linksys E1000 router, configured to receive static IP, with the following information (supplied by cox): Internet IP address: 98.190.168.244 Subnet mask: 255.255.255.240 Default gateway: 98.190.158.241 DNS1: 68.105.28.11 DNS2: 68.105.29.11 3- Router Network setup yields the following: IP address: 192.168.1.1 Subnet Mask: 255.255.255.0 DHCP server is ENABLED (But I am pulling a static INTERNAL IP from the server box, which is also reserved under the router's DHCP reservation) 4- Advanced Router setup: I have the following ports set to forward to the server (which has an internal IP address of 192.168.1.125): 21 (FTP), 25 (SMTP), 53 (DNS), 80, (HTTP), POP3 (110 So, I have the HTTP port set to forward to the server's internal static IP address. In the server, I configure the IPV4 with the following information: IPv4 Address: 192.168.1.125 IPv4 Subnet Mask: 255.255.255.0 IPv4 Default Gateway: 192.168.1.1 (linksys e1000) IPv4 DNS servers: 68.105.28.11 68.105.29.11 IPv6 enabled: yes So far, this all sounds right, right? So how to I address (from the outside) a website stored in the "inetpub/wwwroot/test/" VIA HTTP? Would it be 98.190.158.244/test/? This is where I get very lost, I feel like I did the basics correct (though it's possible that I didn't), and I'm wondering how to simply add a new website in IIS7 (I've read all of the guides on it, and again, I think I did it right, but I get nowhere... I made a basic test site in IIS7 with the following information: Site name: Test Physical path: C:\inetpub\wwwroot\Test Binding- Type: http IP address: all unassigned port: 80 host name: Then, I start the site... how would I access this from outside (what would the full access URL be)? Did I configure this correctly? Any help is INSANELY appreciated. Quote
ICTCity Posted May 24, 2011 Posted May 24, 2011 hi there, Two questions: 1) Can you reach the default website? If you didn't change anything, from INSIDE you can type 192.168.1.225 and the server should respond with default IIS page. If yes, what happens if you put only the IP (this time from outside and with outside IP)? 2) Don't you have a firewall? Quote -------------------------------------------------------- Tu peux aussi crire en franais. Du kannst auch auf Deutsch schreiben. Puoi scrivere anche in italiano. --------------------------------------------------------
mpones Posted May 24, 2011 Author Posted May 24, 2011 hi there, Two questions: 1) Can you reach the default website? If you didn't change anything, from INSIDE you can type 192.168.1.225 and the server should respond with default IIS page. If yes, what happens if you put only the IP (this time from outside and with outside IP)? 2) Don't you have a firewall? When I hit http://192.168.1.125/, it yields: Server Error 403 - Forbidden: Access is denied. You do not have permission to view this directory or page using the credentials that you supplied. When I hit http://98.190.105.244 (my static IP) it times out. A firewall? Doesn't Server 2008 come standard with it? Of course I have my firewall turned on, and incoming traffic through port 80 is allowed. Quote
ICTCity Posted May 25, 2011 Posted May 25, 2011 When I hit http://192.168.1.125/, it yields: Server Error 403 - Forbidden: Access is denied. You do not have permission to view this directory or page using the credentials that you supplied. When I hit http://98.190.105.244 (my static IP) it times out. A firewall? Doesn't Server 2008 come standard with it? Of course I have my firewall turned on, and incoming traffic through port 80 is allowed. Ok, let's try to solve your problem. The first error (403 forbidden) will be the next problem to solve, first of all, you have a problem with your router which doesn't redirect the traffic correctly. Do not be offended, but check this article: http://www.homenethelp.com/web/explain/port-forwarding-dmz.asp I think you should put your webserver in a DMZ which cannot communicate with your LAN. Let me know. Quote -------------------------------------------------------- Tu peux aussi crire en franais. Du kannst auch auf Deutsch schreiben. Puoi scrivere anche in italiano. --------------------------------------------------------
mpones Posted May 25, 2011 Author Posted May 25, 2011 Ok, let's try to solve your problem. The first error (403 forbidden) will be the next problem to solve, first of all, you have a problem with your router which doesn't redirect the traffic correctly. Do not be offended, but check this article: http://www.homenethelp.com/web/explain/port-forwarding-dmz.asp I think you should put your webserver in a DMZ which cannot communicate with your LAN. Let me know. Nothing will offend me, completion of this project is vital for me. DMZ set for all outside IPs to point to 192.168.1.125 Voila! http://98.190.158.244/ now gets me here: "403 - Forbidden: Access is denied. You do not have permission to view this directory or page using the credentials that you supplied." So it looks like permissions for the outside world, now... still have no clue where that puts me though. Quote
ICTCity Posted May 25, 2011 Posted May 25, 2011 Great, Now let's fix the permissions and the redirection. When you try to access the main page (default.aspx), you get this error which is correct, you probably modified something, but this is ok. Take a look here: http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/6b855a7a-0884-4508-ba95-079f38c77017.mspx?mfr=true This article explain how to redirect a webpage. You have to set redirection from the main site (maybe default web site) to your TEST directory (of course pointing to the proper file). and if you need a good explenation on "how to create a website", you can take a look here: http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/6b855a7a-0884-4508-ba95-079f38c77017.mspx?mfr=true Let me know. Quote -------------------------------------------------------- Tu peux aussi crire en franais. Du kannst auch auf Deutsch schreiben. Puoi scrivere anche in italiano. --------------------------------------------------------
mpones Posted May 25, 2011 Author Posted May 25, 2011 Great, Now let's fix the permissions and the redirection. When you try to access the main page (default.aspx), you get this error which is correct, you probably modified something, but this is ok. Take a look here: http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/6b855a7a-0884-4508-ba95-079f38c77017.mspx?mfr=true This article explain how to redirect a webpage. You have to set redirection from the main site (maybe default web site) to your TEST directory (of course pointing to the proper file). and if you need a good explenation on "how to create a website", you can take a look here: http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/6b855a7a-0884-4508-ba95-079f38c77017.mspx?mfr=true Let me know. Well, my main question is when I input "http://98.190.105.244", what does that display from the server? Where does that IP defaultly (once routed) call from the server? Quote
ICTCity Posted May 25, 2011 Posted May 25, 2011 if haven't changed anything, it points to default website and it looks for default.aspx which shows you the main page of IIS 7. Quote -------------------------------------------------------- Tu peux aussi crire en franais. Du kannst auch auf Deutsch schreiben. Puoi scrivere anche in italiano. --------------------------------------------------------
mpones Posted May 26, 2011 Author Posted May 26, 2011 if haven't changed anything, it points to default website and it looks for default.aspx which shows you the main page of IIS 7. If there's an index.htm or html in there, will it select that if there's no default.aspx? Quote
ICTCity Posted May 26, 2011 Posted May 26, 2011 it depends on your settings. You can select on the properties of the website, which page can be recognized as default. There are some "defaults" names like: default.aspx, but actually I can't remember the others. Right click on default website and I'm pretty sure you will find this option. To make a test, simply rename your index.htm to default.aspx. It should work... I think. Quote -------------------------------------------------------- Tu peux aussi crire en franais. Du kannst auch auf Deutsch schreiben. Puoi scrivere anche in italiano. --------------------------------------------------------
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.