![]() |
|
#1
|
|||
|
|||
pdiddy.servebeer.comHi,
At school my web page is sucessful and up and running. But now that I am on break, I am trying to configure it through a NAT router. I am able to have it visible to the internet, but I cannot access my web page from my network (LAN) with the domain name. Is there any way to configure Apache's httpd.config file to tell my (LAN PC's) that http://www.pdiddy.servebeer.com is the same as http://localhost ? Thanks |
|
#2
|
||||
|
||||
|
I think this has to do with DNS.
the name www.pdiddy.servebeer.com will be looked up at a nameserver. if that nameserver does not give up-to-date ip details about your domain (A record) then it will not work |
|
#3
|
|||
|
|||
|
Quote:
Ok, well what and how do I configure so I can view my web page using my domain name behind my firewall. I need this because on my web pages, all the links are hyperlinked to - mydomainname/link. Any Idea? |
|
#4
|
||||
|
||||
|
I'm not sure but maybe the lan you are on has it's own firewall that blocks port 80.
I'm using a dynamic address myself and have no problems. it still could be your router or isp. I'm a bit confused. how can you view your site from other computers, but not from your own lan. |
|
#5
|
|||
|
|||
|
Quote:
Ok..... Let's say I was at my buddy's house. And in the address bar, i typed in http://www.pdiddy.servebeer.com it would come up fine. (It's not running right now so if you try to log in you will not be able to) Now, when I'm at home, I try typing in http://www.pdiddy.servebeer.com and it redirects me to my router configuration page. I forwareded all the necessay ports, port 80. However, I want to be able to use http://www.pdiddy.servebeer.com instead of http://localhost. Anyways, using http://localhost will bring me to my frist page because then, if I click on a link, it does nothing because they are all linked to http://www.pdiddy.servebeer.com/link I am desperate right now, and so aggravated Let me know |
|
#6
|
||||
|
||||
|
Quote:
ah, now things are making sence. most routers have a webinterface on port 80, only for local network. that means you will have to find something about the port used by the router web interface in the manual and see if you can change it to something else. |
|
#7
|
|||
|
|||
|
Quote:
This is what happens, can anyone tell me what a "an alias" like it says above. Set up an alias in a Windows Host file. Can anyone tell me what this does and what that means? |
|
#8
|
||||
|
||||
|
Can you copy N paste what is inside your HOSTS file now?
__________________
J de Silva Learning Journal | GIDForums™ | GIDNetwork™ | GIDWebhosts™ | GIDSearch™ |
|
#9
|
|||
|
|||
|
Quote:
I am running Apache, my host files are what? And my router does have a webinterface that opens on port 80 that I cannot change, is there anything I should do? |
|
#10
|
||||
|
||||
|
Are you asking me what HOSTS files are? They're not a bunch of files, it's ONE file simply named HOSTS (or sometimes HOSTS.SAM)... '.sam' as in SAMple, I think!
__________________
J de Silva Learning Journal | GIDForums™ | GIDNetwork™ | GIDWebhosts™ | GIDSearch™ |
Recent GIDBlog
Toyota - 2008 July Promotion by Nihal
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The