HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=27)
-   -   Dynamic IPs, GoDaddy, Domains and ISPConfig3 (http://www.howtoforge.com/forums/showthread.php?t=41309)

linuxbastard 24th November 2009 12:48

Dynamic IPs, GoDaddy, Domains and ISPConfig3
 
Hope this helps someone.

Here is my setup:

Network:
Router WRT54G (dynamic IP) configure with DMZ pointing to internal IP of ISPC server (virtualbox), router also has DDNS setup to update dyndns.org if my IP changes.
DNS:
All my domains are handled by GoDaddy and I also have a dyndns account for my dynamic IP.
mydomain.com (Godaddy)
lxserver1.mydomain.com (Godaddy)
host2.mydomain.com (GoDaddy)
host1.homelinux.net (dyndns)


Server:
hostname:lxserver1.mydomain.com
internal IP: 192.168.x.100
Ubuntu 9.10 fresh install with ISPConfig 3.0.1.6

1. Created host1.homelinux.net on dyndns.com. This is the domain that is updated by the router if my external IP changes.
2. Created lxserver1.mydomain.com on GoDaddy and created a cname record to point to host1.homelinux.net (the dyndns host)
3. Created host2.mydomain.com on Godaddy which also points to host1.homelinux.net
4. Logged on to lxserver1.mydomain.com:8080 to configure ISPConfig. Disabled mail and DNS
5. Changed the IP of lxserver1.mydomain.com in ISPConfig > System > Edit Server IP to internal server IP (192.168.x.100)
6. Created client1 with default limits
7. Logged out of ISPC and logged in with client1
8. Created site, host1.homelinux.net
-IP:*
-autosubdomain :*
-suPHP
-joomla site
9. created site, host2.mydomain.com
-IP:*
-autosubdomain :*
-suPHP
-wordpress site

a. When I browse to lxserver1.mydomain.com, I get the default web site of the server.
b. When I browse to host1.homelinux.net, I get client1/web1
c. when I browse to host2.mydomain.com, I get client1/web2

Webmail:
lxserver1.mydomain.com/webmail (useless for now since I don't handle email)

Phpmyadmin:
lxserver1.mydomain.com/phpmyadmin
host1.homelinux.net/phpmyadmin
host2.mydomain.com/phpmyadmin

To-do:
Make Zend Framework work on a host.


All times are GMT +2. The time now is 15:14.

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