Hosting Multiple Sites on Dynamic IP

Discussion in 'Installation/Configuration' started by gpoole, Jul 26, 2018.

  1. gpoole

    gpoole New Member

    Pretty new this whole home server thing (and Linux and IP's and ports, etc.)
    I setup The Perfect Server - Ubuntu 16.04 (Nginx, MySQL, PHP, Postfix, BIND, Dovecot, Pure-FTPD and ISPConfig 3.1) on an old Proliant Server at my home, where I have a dynamic IP.
    I have two domains (ie. and - one through GoDaddy and one through forwarding to no-ip and connecting to my server.
    when I create sites in ISPConfig based on no-ip address (ie and and access through the internet I get to the correct sites and I am able to get Wordpress sites installed and working on both. (so ports forwarding properly and FTP access working too - haven't touched mail server yet)
    I would like to host and on my server, but I don't know how to get the forwarded domains through no-ip to connect to the original domains in ISPConfig.
    I've read several threads that appear to suggest that this can be done by changing the CNAME at GoDaddy and instead of forwarding, but I can't seam to understand what to do. I get a little nervous about changing settings through their sites since I don't know the implications (less concerned about trial and error on my own hardware - that's how I learn)
    Am I on the right track? Can anyone provide some clarification on how to get this to work or point me toward some references that might help?
  2. ahrasis

    ahrasis Well-Known Member HowtoForge Supporter

    Well, my case is almost alike. Previously I used and, but currently I am using, to manage my dns.

    So basically, I just point all my domains to cloudflare nameservers and create cname record for them to use under and they will get back to my private ISPConfig server. If Godaddy and / or can be used to manage your dns, simply add cname record and use your to get your domain back to your server.

    You need to ensure that ip address is keep updated all the time. You can also use ddclient to update your ip address at but setting on home router will be better.
  3. gpoole

    gpoole New Member

    Thanks for your response Ahrasis.
    I tried a cname change for my domain at godaddy - so now has a cname of for @ then waited about 15 hours to test (somewhere I read cname changes do not require time to propagate, but wanted to be sure)
    when I put in my browser, it still forwards to and opens the site on my ispconfig server (and browser displays and I am trying to get in my browser to open the site on my ispconfig server.
    So, when you say you "point all my domains to cloudflare nameservers" is that the same as when I "forward" to on godaddy or do you mean for me to change the nameservers on godaddy to the nameservers at noip?
  4. ahrasis

    ahrasis Well-Known Member HowtoForge Supporter

    No, it is not the same. Forwarding your domain to means to open the later in the browser and not your domain, therefore, it is wrong.

    Your domain must be governed by a dns server, either your own or not. In other words it needs to specify nameservers (at least two) and this is why for dynamic ip server you will need an external dns server as mentioned earlier.

    You set cname for to in your selected dns server and to check whether it is working, simply run "dig" where it should shows your server public ip after
  5. gpoole

    gpoole New Member

    I've switched to DYNU for my DDNS because it allows me to control my domains through them directly for free. So far everything is working perfectly.
    ahrasis likes this.

Share This Page