11-25-2015 08:18 PM - edited 03-08-2019 02:51 AM
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
Solved! Go to Solution.
11-26-2015 04:40 AM
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
11-26-2015 01:11 AM
Are you running DNS internally?
11-26-2015 06:38 AM
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.
11-26-2015 04:40 AM
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
11-26-2015 09:37 AM
It didn't dawn on me to use the HOST file. Thanks! Works fine now!
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide