Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> Apache and DynDns
docmur
post Jan 21 2006, 09:34 AM
Post #1


I Eat C Code for Breakfast
****

Group: Members
Posts: 276
Joined: 9-November 04
From: Canada Ontario
Member No.: 4,136



Help I'm so lost

I registered with DynDns and made a domain name with them something like docmur.linux.org
now I need to figure out how to make apache map that address which is is www.dyndns.org to my
folder which I want to use as a file server.

????? Please can any one help


--------------------
Gentoo ROCKS!!!!! Go and emerge the world
Go to the top of the page
 
+Quote Post
michaelk
post Jan 21 2006, 10:35 AM
Post #2


Its GNU/Linuxhelp.net
*******

Group: Support Specialist
Posts: 1,800
Joined: 23-January 03
Member No.: 360



All that is required is fowarding web traffic from a router (if used) to your web server depending on how your network is configured. You also might need to change some iptables rules.

The dyndns client will update the server so docmur.linux.org will always point to your IP address. You need to modify apache.conf to point to your document root folder but nothing is required to map the address.

With a T1 line do you have a static or dynamic IP address?
Go to the top of the page
 
+Quote Post
docmur
post Jan 21 2006, 10:43 AM
Post #3


I Eat C Code for Breakfast
****

Group: Members
Posts: 276
Joined: 9-November 04
From: Canada Ontario
Member No.: 4,136



well I have dynamic ip. The router I have uses the ip 72.*.*.* and then gives each computer in the network a new dynamic IP from 192.168.0.100 - 199. I know how to get apache to point to a folder but my questions is, what do I have to do with apache so that when I type in http://docmur.linux.org it know to point to say /usr/share or what ever directory I chose


--------------------
Gentoo ROCKS!!!!! Go and emerge the world
Go to the top of the page
 
+Quote Post
michaelk
post Jan 21 2006, 02:40 PM
Post #4


Its GNU/Linuxhelp.net
*******

Group: Support Specialist
Posts: 1,800
Joined: 23-January 03
Member No.: 360



Configure the router so you are fowarding port 80 to the IP address of the webserver. You should configure your webserver with a static IP address. When you type in your URL in a browser from the internet http://docmur.linux.org will point to your currently assigned IP address from your ISP. The dyndns client will update your IP address so no need to worry about that. The router will foward this traffic to the webserver's IP address. The displayed web page will be the default i.e. index.html (or defined by httpd.conf) from the DocumentRoot directive in the httpd.conf file which by default is /usr/local/apache/htdocs. The actual directory varies with distribution if you did not install from source.
If you want access to other directories then you will need to modify the httpd.conf file.



http://www.linuxhomenetworking.com/linux-h...tm#_Toc92809466
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 15th December 2017 - 03:30 AM