cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
512
Views
0
Helpful
4
Replies

Website viewing from internal computer to internal server

Greetings,

I recently put together a Cisco 2811 router and a Catalyst 3750G in my home. I've got the router connected to my DSL and everything is working very well.

On my network I have an Ubuntu server running Apache and Postfix for web site hosting and Email.

I've opened ports 80 and 25 on the router and they are forwarding to the server fine. I am receiving Email and external people can view the websites. My problem is viewing the web sites from an internal computer. When I try to browse to the URL the browser displays "Unable to connect"

How can I program the router to allow this traffic?

Thanks

1 Accepted Solution

Accepted Solutions

Hello

1)On you pc (windows based ) you can either add a staitc host  in the HOSTs file in
C:\Windows\System32\drivers\etc

2) or point your pc to have its dns server as your isp


3) or point your pc towards your router and have the router forwad the lookup or resolve it

router
conf t
ip name-server x.x.x.x ISP

4) router
conf t
ip dns server (its self)
ip host www.stan.com x.x.x.x



res
Paul


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

View solution in original post

4 Replies 4

devils_advocate
Level 7
Level 7

Are you running DNS internally?

No. No internal DNS. The Webserver hosts multiple website for the Host header is important so Apache knows which virtual host to send out.

I read something about hairpin? But what Ihave sound is a bit confusing.

Hello

1)On you pc (windows based ) you can either add a staitc host  in the HOSTs file in
C:\Windows\System32\drivers\etc

2) or point your pc to have its dns server as your isp


3) or point your pc towards your router and have the router forwad the lookup or resolve it

router
conf t
ip name-server x.x.x.x ISP

4) router
conf t
ip dns server (its self)
ip host www.stan.com x.x.x.x



res
Paul


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

It didn't dawn on me to use the HOST file. Thanks! Works fine now!