View Single Post
  #4  
Old 2nd November 2008, 19:01
martien martien is offline
Junior Member
 
Join Date: Oct 2007
Posts: 26
Thanks: 2
Thanked 2 Times in 2 Posts
Default

Quote:
Originally Posted by Gorghor View Post
Hi there,

Thanks for the answer.

Yup, it's behind a router and it is already in the DMZ. I'm not sure I understand what you mean with configuring the router to use the static IP. Do you mean that instead of having it route from say 91.xx.zz.yy to 192.168.0.1, it should directly be assigned to 91.xx.zz.yy? Is there no way to get around this? Hosting web pages works fine with the current config and if at all possible, I would like to not have to reconfigure the entire home network.

Oh and in case my first explanation was unclear, I believe what I'm trying to do is basically the contents of the following HOWTO, but without ISPConfig

*How To Run Your Own Name Server With ISPConfig And providerdomain.de (Schlund)*

Greets,
Ludwig
You are behind a router so set port forwarding for 53 (dns),80 (apache) and other needed ports. Then contact your domain register and ask them to register you 2 name servers (ex. ns1.yourdomain.com and ns2.yourdomain.com) and point them to your static ip. After that you have to configure bind (as you saw in the tutorials). Make zone for yourdomain.com. Then edit your apache configuration and add virtualhost for your domain.
Note: If your server's ip is local ip behind the router (ex. 192.168...) the dns records must be set to your public ip address, but your apache virtualhost - to your local ip.
Reply With Quote