1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Add "new domains" auto create IP/domain.tld

Discussion in 'Plesk for Linux - 8.x and Older' started by BryanL@, Mar 5, 2008.

  1. BryanL@

    BryanL@ Guest

    0
     
    I hope what I want to do is possible.

    Basically, What I want to do is be able to set up new domains on the VPS and use it as a dev server. The domains will not have the DNS pointing to my IP, so I know that will not resolve. What I want to do is change the "conf" ?? file so that say my IP is 1.2.3.4 and I add a new domain to the plan that is joesgarage.com. I want something to create a path 1.2.3.4/joesgarage.com so I can have that IP/folder resolve to the path that the domain is at on the box. Then when i set up a new domain bigsky.com it will automatically create it so that 1.2.3.4/bigsky.com will resolve to the site. I know that joesgarage.com and bigsky.com will not resolve since I will not be changing any Name Servers to point to my IP of 1.2.3.4.

    The reason I want to do this, is that if i simply set up subdomains of my real domain, the DB will all be under that domain. I would have to search through a lot of them. Say I set up 20 subdomains, then I would have 20 DB under the main domain. assuming that i have 1 DB per subdomain. If i can set up a new domain then the DB will be separated out.

    If anyone has a better idea, I am totally open. I just need the DB not all in one place, and I need something that is automatic, since I don't want to have to SSH in each time and set stuff up. I am afraid that will open up the possibility to make a mistake.

    thanks a lot.
    Bryan
     
Loading...