•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the Linux Servers and Apache section within the Tech Talk category of DaniWeb, a massive community of 391,630 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,767 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Linux Servers and Apache advertiser:
Views: 3512 | Replies: 3
![]() |
•
•
Join Date: Aug 2006
Posts: 2
Reputation:
Rep Power: 0
Solved Threads: 0
Hey everyone,
I'm new to these forums and also new to web hosting but I've got a quick question. I'm using an Actiontec GT701 as my DSL modem and router. I'm running apache2 and I'm using virtualHosts to host three different sites. I can access the sites just fine from work but whenever I try to access the hosts by their domain names (www,domainname.com) from within my network I get my actiontec web management login. I can type localhost and get one of my sites to come up but not all three. Is accessing sites hosted locally impossible w/ the actiontec? I'd appreciate any help.
Thanks.
I'm new to these forums and also new to web hosting but I've got a quick question. I'm using an Actiontec GT701 as my DSL modem and router. I'm running apache2 and I'm using virtualHosts to host three different sites. I can access the sites just fine from work but whenever I try to access the hosts by their domain names (www,domainname.com) from within my network I get my actiontec web management login. I can type localhost and get one of my sites to come up but not all three. Is accessing sites hosted locally impossible w/ the actiontec? I'd appreciate any help.
Thanks.
Last edited by howie_23 : Aug 7th, 2006 at 9:13 pm.
•
•
•
•
Originally Posted by howie_23
Is accessing sites hosted locally impossible w/ the actiontec? I'd appreciate any help.
Thanks.
I think the your network computers are trying to find the websites out on the internet, the router should redirect them to your webserver. is your server behind NAT?
Florida Rocks!
•
•
Join Date: Aug 2006
Posts: 2
Reputation:
Rep Power: 0
Solved Threads: 0
•
•
•
•
Originally Posted by TheNNS
is your server behind NAT?
Yea the Actiontec does NAT. I've found solutions about updating host files on the computer I'm trying view the page on so that could work but I'm looking for something a little easier so I don't have to do that w/ every computer on my network.
•
•
Join Date: Aug 2007
Posts: 1
Reputation:
Rep Power: 0
Solved Threads: 0
If the actiontec were to forward internal traffic coming to it to another computer on the network you would never be able to do any administration on the actiontec again. The router doesn't know that you typed blahblah.com instead of 192.168.X.X it just knows that a request is coming over port 80 from inside the network.
There are a few ways to bypass this, set up a local DNS server and plug that into the computers on your network. Or configure the hostname of the computer you want to be the server (in windows this is the computer name) to what you want.
Like if my website is at fooXYZ.com and I have the port forwarding set up then anyone going to fooXYZ.com from outside the network will get my server. BUT you have to name the computer on the local network fooXYZ.com for that to work locally. Or you can just name it fooXYZ the local computers will access your server when they type http://fooXYZ/.
There are a few ways to bypass this, set up a local DNS server and plug that into the computers on your network. Or configure the hostname of the computer you want to be the server (in windows this is the computer name) to what you want.
Like if my website is at fooXYZ.com and I have the port forwarding set up then anyone going to fooXYZ.com from outside the network will get my server. BUT you have to name the computer on the local network fooXYZ.com for that to work locally. Or you can just name it fooXYZ the local computers will access your server when they type http://fooXYZ/.
Last edited by krazytekn0 : Aug 20th, 2007 at 6:55 pm.
![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
•
•
•
•
DaniWeb Linux Servers and Apache Marketplace
•
•
•
•
apple bbc cd cellphone choose code computer core debian dell desktop development drivers enterprise fedora fiji games gentoo gpl hardware ibm infrastructure install kernel laptop linux marketing microsoft mobile news novell open open source openoffice operating os palm preinstall red hat rhel security server source sun system ubuntu unix vista web windows
- help,it's about my keyboard (Peripherals)
- Can't remove "about:blank" homepage. Please help. (Viruses, Spyware and other Nasties)
- Administrator Code unknown on used pc (Windows NT / 2000 / XP / 2003)
- Is it the Flyback Transformer? (Troubleshooting Dead Machines)
- Applet or Application? (Java)
Other Threads in the Linux Servers and Apache Forum
- Previous Thread: redirect to same filename without extension
- Next Thread: Second Apache at different port



Linear Mode