• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Question How allocate a subdomain to customer?

ferropolice

New Pleskian
Hello together,

I have one customer there would be transfer from another server to my server. I have create an new customer, add the domain (but the Domain shows actually to the old server).

But, as I say, the domain redirect to the old server. My Plan was to allocate a subdomain. How did I do that? How can I add a Subdomain like customer1.mydomainfromserver.tld to each customer (maybe in feature I have some more customers).

Thanks for your help
 
What was the purpose of allocating as subdomain? Are you wanting to test the site before going live?

You can do this by modifying the HOST file on your local computer to point to the new IP address;

  1. Locate the HOSTS file on your computer. Typically it is in one of the following locations:
    • Windows NT/2000/XP/2003/Vista/7 - C:\windows\system32\drivers\etc\hosts
    • Windows 95/98/Me - C:\windows\hosts
  2. Open this file with a text editor such as Notepad or Wordpad.
    • Right-click on Notepad and select the option to Run as Administrator - otherwise you may not be able to open this file.
    Then, open the file. Consider performing a "Save As" so you have an original copy of the file that you can restore later. You will see two columns of information, the first containing IP addresses and the second containing host names. By default, a windows hosts file should be similar to the following:
    Filename: hosts

    127.0.0.1 localhost
    You can add additional lines to this file that will point requests for a particular domain to your new server's IP address. Example:

    Filename: hosts

    127.0.0.1 localhost
    70.32.88.203 example.com
    70.32.88.203 www.example.com

  3. Save your changes.
  4. Restart any currently open browsers. You may also want to flush your DNS cache. In Windows XP, go to Start, and then Run, then type "cmd" and hit enter. Type the following:
    ipconfig /flushdns
  5. Visit your new site using Example Domain or Example Domain
 
In that case your customer must add an A-record to his existing domainname for the subdomain like "test.<domain>" and point that record to the IP address of the (your) new server.
 
Back
Top