Solved

cannot access my website from inside my network

Posted on 2008-10-21
11
539 Views
Last Modified: 2012-06-22
I have a public IP address pointed to a private IP address for the webserver. Example 67.141.176.168 to 192.168.1.18. From outside the network i can see the websites. But from inside the network when you type www.mydomain.com or ip address it comes up with the netvanta 3200 admin login screen. When i ping the domain name it resolves to the correct public IP address.

Router Netvanta 3200
Server Linux Centos 5.2 - ISPConfig - SquirrelMail

What do i need to do to get around this so our web developers can see the sites inside the network?
Please give a detailed example of what to add and where to add it.

Thanks All
0
Comment
Question by:bwing08
  • 4
  • 3
  • 2
  • +1
11 Comments
 
LVL 7

Expert Comment

by:talker2004
ID: 22770004
Can you type in the private ip address of the server and get the site?

If so goto your host file and add the private ip address of the server followed by the domain name.

C:\Windows\System32\drivers\etc\hosts


192.168.1.100                www.mydomain.com

There are commented examples inside the host file.
0
 

Author Comment

by:bwing08
ID: 22770340
Yes that works by adding to the host file, but that means i will have to do that to several computers at the office for 50 or so domains. Anyway around that?
0
 
LVL 7

Expert Comment

by:talker2004
ID: 22770510
It's almost like the admin page of the netvanta is listening on port 80, but still routing all outside traffic coming in on port 80 to the appropriate web server.

Is the router moving traffic coming in on port 53 to the same web server as well?

Is there any other services on the web server you can test?
If there is an ftp service, are you able to access the ftp internally?

Can you move the admin page of the netvanta to port 8080?

Did you check the settings in the router to make sure it is routing all traffic coming in on port 80 to the appropriate web server?



0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

Author Comment

by:bwing08
ID: 22770795
I am setting up the ftp. Here is the router config file. I dont see anyplace to move the admin page to a different port.
netvanta.txt
0
 
LVL 3

Expert Comment

by:leonjs
ID: 22771206
If you log into the the Firewall click on the IP SERVICES tab on the left and there should be a section HTTP Server Port change it to something other then 80 and from then forward access the device by putting in the IP address:XXX whatever port you choose
0
 
LVL 7

Expert Comment

by:talker2004
ID: 22771261
leonjs, sounds like he has the exact steps in order to change your port from 80 to 8080. I would try that and it may resolve your problem.

0
 
LVL 3

Expert Comment

by:leonjs
ID: 22771429
Also want to mention in some situation like on the ASA you would need to do a nat from inside to outside using the same external ip, and that will work.
0
 
LVL 7

Expert Comment

by:talker2004
ID: 22771463
leonjs, i believe i was having the same issue you are describing above. We were dealing with it by putting an entry in our host files as a work around.

When we got a new router the problem went away by itself.

0
 
LVL 8

Expert Comment

by:MrJemson
ID: 22772769
Do you have a local DNS server?
If so, add a Zone for your domain there, and point your www to your local webserver.

If you do not have a local DNS server, consider installing Bind on your CentOS box.

This way, you do not need to update every hosts file, just have DHCP point to your local DNS and you have the same result as changing the host file.
0
 

Author Comment

by:bwing08
ID: 22772818
MRJemson,
The ISPConfig front end i am using created a ns1 and ns2 for the server. I do have bind installed. How would i configure a zone like you are saying? Also we can not replace the router, we paid over a grand for it.
You guys are the best and thank you so far for the help.
0
 
LVL 8

Accepted Solution

by:
MrJemson earned 500 total points
ID: 22772861
This site should be able to shed some light on that:
http://www.centos.org/docs/2/rhl-rg-en-7.2/s1-bind-configuration.html#BIND-CONFIGURATION-NAMED-SLAVE

ns1 and ns2 provided by your ISP would be configured as your forwarders, and just follow the guide for setting up a zone, obviously with your own details in the configs as required.
0

Featured Post

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Best Server Board For The Money 19 77
Is this QoS Correct on this  CISCO 3825 Router 1 74
How to restrict all websites and allow only citrix website 5 46
Cisco ASA 3 29
In the hope of saving someone else's sanity... About a year ago we bought a Cisco 1921 router with two ADSL/VDSL EHWIC cards to load balance local network traffic over the two broadband lines we have, but we couldn't get the routing to work consi…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

832 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