LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices



Reply
 
Search this Thread
Old 01-05-2004, 12:32 AM   #1
c_mitulescu
Member
 
Registered: Nov 2003
Location: London
Distribution: Ubuntu
Posts: 35

Rep: Reputation: 15
Question Mandrake 9.2, hosting web page behind router on dynamic ip


Hi, not sure where to start with this... I have an ADSL Router with a dynamic IP address. Behind it sits the LAN. On the LAN I have one server from which I would like to serve web pages. I have configured NAT on the router to forward port 80 to the internal server address. I have also registered a domain name from no-ip.com and running their program on the server to update their DNS with my new IP address. I can now connect to my web server from the Internet by using the domain name.
The problem that I am having is that I have also configured Apache to serve pages from each user's directory, and when somebody tries to access ie: mydomain.com/~user the page is served but the address bar in the browser changes to 127.0.0.1/~user . Is it possible to configure the server somehow so that both the computer and Apache know they are on a domain (ie mydomain.com), so that the address bar in browsers always displays mydomain.com/blah/blah.
 
Old 01-05-2004, 12:38 AM   #2
c_mitulescu
Member
 
Registered: Nov 2003
Location: London
Distribution: Ubuntu
Posts: 35

Original Poster
Rep: Reputation: 15
sorry - posted this message in the wrong forum. I was aiming for networking
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
dynamic IP/web hosting microsoft/linux Linux - Networking 1 09-25-2005 02:54 PM
Help with Web Page Hosting and Apache2 Hambone_20003 Linux - Software 2 08-23-2005 09:31 PM
cannot access config web-page for adsl router tireseas Linux - Networking 6 03-19-2005 05:13 PM
Mandrake 9.2, hosting web page behind router on dynamic ip c_mitulescu Linux - Networking 5 01-05-2004 07:59 PM
multiple web page hosting bytebrowser Linux - Networking 4 06-15-2003 04:42 AM


All times are GMT -5. The time now is 11:35 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration