Multiple Subdomains on one IP address

Discussion in 'Installation/Configuration' started by Neekz, Dec 4, 2007.

  1. Neekz

    Neekz New Member

    Hey complete noob here.

    I am looking for a way to have multiple subdomains all on 1 ip address with different web roots. I do not know if this is possible or not but I would really like to know. I currently have my DNS at 1and1 for my domain set to my public ip addy of my router. I wasn't sure if that works or not :confused:

    Domain Registar: 1and1
    Can I use 1and1's name server as my primary and secondary name servers or do I have to setup my own and if so how? As I said complete noob :)

    I am really stuck on this one when I type in my domain name it brings me to the SharedIP folder not my web folder. I could really use a step by step setup or a link a step by step setup.

    As well is there a way to have ISPconfig automatically install the CMS engine that I am using with each new subdomain that I would like to create? The CMS engine that I use is E107 CMS.

    Thank you
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    You may have as many (sub) domains on one IP as you like. In ISPConfig, just create a new website for every subdomain.

    Then you selceted the wrong IP address for the website. Normally you will have to select the IP Address where the subdomain ponts with a DNS A-Record to. But if your server is behind a router, you will have to use the internal IP and not the external IP.

    There is currently no function builtin for this. But you may extend the ISPConfig scripts to do this if you have some PHP programming knowledge.
  3. Neekz

    Neekz New Member

    Thank you for the fast response. I take it for each new subdomain i will still have to through 1and1 to have it registered or no?

    I am intending on doing guild hosting in the end and if I have to keep going back to 1and1 it will take me forever lol?

    Im not bad at php but no where near good enough to do that. I am also a complete noob to linux :(
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Either you have to create a A-Record for every subdomain at 1and1 or you will have to create a wildcard record at 1and1.

    A third solution is to run your own nameserver on your ISPConfig server, but thats more compliacted and not recommended if you just start with linux and server hsoting.
  5. Neekz

    Neekz New Member

    ok this is the DNS options i have

    and this is my ISPconfig setup for subdomain


    and the server hosting i was using was on windows VIA Wamp :) Great program but not very easy to make big changes with and there are no Free Cpanels for windows :(

    Is there a how to for creating a name server? How do I create a wildcard DNS entry?
    Last edited: Dec 4, 2007
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    In the 1and1 controlpanel, you set the dns A-Record for to your server, but you will have to create a A-Record for pointing to your external IP too.

    Also be aware, that changes in DNS may take up to 48 hours to propagate.
  7. Neekz

    Neekz New Member

    Hence why I don't want to have to keep going to 1and1 i also only get 200 subdomains with them
  8. till

    till Super Moderator Staff Member ISPConfig Developer

    The 48 hours is nothing special for 1and1. If you change to another registry, it will take the same time. Thats the way dns works.

Share This Page