HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   General (http://www.howtoforge.com/forums/forumdisplay.php?f=15)
-   -   Dynamic DNS & DNS (http://www.howtoforge.com/forums/showthread.php?t=2653)

Plascual 21st February 2006 19:14

Dynamic DNS & DNS
 
Hi!

I registered a domain name with EasyDNS with DNS-Plus service (I'm on cable, behind a router with forwarding) and would like to setup a development web-server.

I installed a "Debian perfect setup" + ISPConfig successfully with external IP and domain name.

I'm a little bit confused about DNS and Bind9 and ISPConfig, because EasyDNS provide control panel to manage A records, and I configured nameservers to those of EasyDNS.

- Should I turn off Bind9 and how?
- Should I point to their nameservers?

There is no problem seeing the ISPConfig server from outside, but I have difficulties to set subdomains as "user1.example.com" and "user2.example.com" so that they point to different web pages.

Should I add IPs to /etc/hosts for each subdomains?

Does anybody know examples on how to setup ISPConfig with dynamic DNS with nameserver of i.e. EasyDNS?

falko 21st February 2006 21:52

Quote:

Originally Posted by Plascual
- Should I turn off Bind9 and how?

If you use EasyDNS to manage all your DNS records, then yes. You can use the ISPConfig interface to turn off Bind: Management -> Server -> Services.

Quote:

Originally Posted by Plascual
- Should I point to their nameservers?

No, that's not necessary.

Quote:

Originally Posted by Plascual
There is no problem seeing the ISPConfig server from outside, but I have difficulties to set subdomains as "user1.example.com" and "user2.example.com" so that they point to different web pages.

Just create the appropriate DNS records for user1.example.com and user2.example.com with EasyDNS, and then create two new web sites in ISPConfig, one for user1.example.com, the other one for user2.example.com.

Plascual 22nd February 2006 00:15

Thanks falko!

In Management > Server > Settings > DNS > Default Ns1 : Ip adresses or ns1.easydns.com or my ISP nameserver or any of theses? :)

Something strange, in Services, the Web-Server is Offline...

If I "netstat -tap" some entries end with "TIME_WAIT"...

Plascual

till 22nd February 2006 00:29

Quote:

Originally Posted by Plascual
Thanks falko!

In Management > Server > Settings > DNS > Default Ns1 : Ip adresses or ns1.easydns.com or my ISP nameserver or any of theses? :)

If you use easydns to manage your dns records, you can leave these fields empty. They are just the defaults that are inserted when you use the DNS-Manager in ISPConfig.

Quote:

Something strange, in Services, the Web-Server is Offline...

If I "netstat -tap" some entries end with "TIME_WAIT"...
Can you please post the output of "netstat -tap". I guess your apache webserver is not listening on localhost.

Plascual 23rd February 2006 18:54

Thanks you!

You were right Till, I changed listening port to 8080. I put it back to 80, with my router forwarding external port 8080 to internal 80 of my server IP.

So, being with EasyDNS, I switched off DNS-Server. With EasyDNS panel, I created A record "server1.example.com" that has an URL to "https://IP-adress:81/" and A records "user1.example.com" and "user2.example.com" with IP.

The ISPConfig on "https://server1.example.com:81/" respond from the outside without any problem.

I created the two clients and their respective websites.

When I type address "http://user1.example.com:8080" or "http://user2.example.com:8080", I'm redirected to "http://user#.example.com:8080/apache2-default/" ...

Is it a DNS problem?

I expected to see the user1.example.com page with the blue stripe. :confused:

falko 24th February 2006 00:02

Did you create a web site for user1.example.com in ISPConfig (or added user1.example.com to another web site as Co-Domain)?


All times are GMT +2. The time now is 02:56.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.