GIDForums  

Go Back   GIDForums > Web Hosting Forums > Apache Web Server Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 15-Dec-2003, 22:23
paul_dib paul_dib is offline
New Member
 
Join Date: Dec 2003
Posts: 6
paul_dib is on a distinguished road

pdiddy.servebeer.com


Hi,
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  
Old 16-Dec-2003, 02:48
Allowee's Avatar
Allowee Allowee is offline
Regular Member
 
Join Date: May 2003
Location: The Netherlands
Posts: 339
Allowee has a spectacular aura about
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
__________________
Pastebin
PHP Documentation Site
Allowee's Blog http://allowee.net
  #3  
Old 16-Dec-2003, 11:16
paul_dib paul_dib is offline
New Member
 
Join Date: Dec 2003
Posts: 6
paul_dib is on a distinguished road
Quote:
Originally Posted by Allowee
I think this has to do with DNS.
the name http://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

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  
Old 17-Dec-2003, 07:52
Allowee's Avatar
Allowee Allowee is offline
Regular Member
 
Join Date: May 2003
Location: The Netherlands
Posts: 339
Allowee has a spectacular aura about
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.
__________________
Pastebin
PHP Documentation Site
Allowee's Blog http://allowee.net
  #5  
Old 17-Dec-2003, 14:25
paul_dib paul_dib is offline
New Member
 
Join Date: Dec 2003
Posts: 6
paul_dib is on a distinguished road
Quote:
Originally Posted by Allowee
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.


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  
Old 17-Dec-2003, 14:29
Allowee's Avatar
Allowee Allowee is offline
Regular Member
 
Join Date: May 2003
Location: The Netherlands
Posts: 339
Allowee has a spectacular aura about
Quote:
Originally Posted by paul_dib
Now, when I'm at home, I try typing in www.pdiddy.servebeer.com and it redirects me to my router configuration page. I forwareded all the necessay ports, port 80.

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.
__________________
Pastebin
PHP Documentation Site
Allowee's Blog http://allowee.net
  #7  
Old 20-Dec-2003, 01:12
paul_dib paul_dib is offline
New Member
 
Join Date: Dec 2003
Posts: 6
paul_dib is on a distinguished road
Quote:
Using a router and can't access your domain/host?

An internet user inside your LAN cannot access your external public IP address and come back in; internal users should access the server on its local internal IP address, or you can set up an alias in a Windows hosts file. This also applies if you are using a URL (web address) which resolves to your public IP address - internal LAN users will not be able to use that URL - the packet is not 'bounced' back into the LAN by the forwarding rules - they apply to incoming external users only.

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  
Old 20-Dec-2003, 08:00
JdS's Avatar
JdS JdS is offline
Senior Member
 
Join Date: Aug 2001
Location: KUL, Malaysia
Posts: 3,371
JdS will become famous soon enough
Can you copy N paste what is inside your HOSTS file now?
  #9  
Old 20-Dec-2003, 17:36
paul_dib paul_dib is offline
New Member
 
Join Date: Dec 2003
Posts: 6
paul_dib is on a distinguished road
Quote:
Originally Posted by JdS
Can you copy N paste what is inside your HOSTS file now?

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  
Old 21-Dec-2003, 03:57
JdS's Avatar
JdS JdS is offline
Senior Member
 
Join Date: Aug 2001
Location: KUL, Malaysia
Posts: 3,371
JdS will become famous soon enough
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!
 

Recent GIDBlogToyota - 2008 July Promotion by Nihal

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 06:05.


vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.