Support / KnowledgeBase

 
Search the KnowledgeBase Search

Adding a domain in Plesk

  • Applies to: (dv) 3.5, (dv) 4.0

  • Difficulty: Easy

  • Time needed: 10 minutes

  • Tools needed: Plesk administrator access

 
  • Applies to: (dv) 4.0
    • Difficulty: Easy
    • Time Needed: 10
    • Tools Required: Plesk administrator access
  • Applies to: (dv) 3.5
    • Difficulty: Easy
    • Time Needed: 10
    • Tools Required: Plesk administrator access

Overview

This guide will show you how to add a domain for your (dv) Dedicated-Virtual Server within Plesk.

Requirements

For your domain to properly resolve to your (dv), you will need to ensure that your domain is pointed to (mt) nameservers or you can point an A record to an IP address on your (dv).

If you are using Plesk as a reseller, make sure you create your subscription first so that you can add additional domains.

Make sure you create a Client for yourself, if you haven't already, so that you can add domains.

NOTE:

Make sure you also add the domain in your AccountCenter. Please see this article for details.

End of Life Warning

This service has a pending End of Life. Please move to a current service as soon as possible. For more information, please see: (dv) Dedicated-Virtual 4.0: Migration Information.

Instructions

Power User mode

This is the default admin panel for your (dv). You can warp to this panel from your AccountCenter.

Add additional domain to an existing webspace

Follow these instructions if you want to add your domain to an existing webspace. For example, mydomain.com and myotherdomain.com will be on the same webspace.

  1. Log into the Plesk Control Panel for your domain. See Figure 1:


    Figure 1. The Plesk Control Panel. Click for a larger view.

  2. Click on the Websites & Domains tab at the top. See Figure 2:


    Figure 2: Click on "Websites & Domains."

    TIP:

    You should notice the default domain that you set up with your webspace here already. If you want to, you can click on it to change its settings.

  3. Click on Add New Domain. See Figure 3:


    Figure 3: Click on "Add New Domain."

  4. Please fill in the information for your domain, then click OK. See Figure 4:


    Figure 4: Enter your domain name, DNS settings, hosting type, and document root.

    • Domain name: This is the domain or subdomain you want to host. It should be something like my-other-domain.com. Do NOT use www in front of the domain.
    • DNS Settings: Decide whether you want to use Plesk as your DNS nameserver, or an outside nameserver. By default, the Plesk recommended option is "Use our DNS settings." (mt) recommends selecting the last option Use DNS settings of a remote nameserver. This will allow you to use (mt) Media Temple nameservers. Please see this article to make sure your domain is added to our nameservers in the AccountCenter.
    • Hosting Type: Website hosting will allow you to upload content to the server here. Forwarding is for forwarding your domain to another website. No hosting allows you to set up an email-only domain.
    • Document root: This is the folder where you will upload all of your content. You can use the default folder name that is suggested, site1, or enter your own. DO NOT use the same folder name that is set for another domain in this webspace unless you want them to show the same content. The default domain that was created with your server is already using the httpdocs folder, so you should pick something else. This is hard to change later (it requires root access), although you can always delete the domain and start over with a new folder name. (Content from the shared domain folder WILL NOT be deleted in this case, because the other domain is still using it.)
  5. You will be returned to the main page. You should see a confirmation message at the top, and your new domain will be added to the list. See Figures 5 and 6:


    Figure 5: A sample confirmation message.


    Figure 6: Your domain has been added to the list.

That's it! You can start uploading your website content. You might also want to check out the Resources list.

Add domain to a NEW webspace

Webspace is an isolated piece of hosting resources which will run your websites and mail. Every webspace is designated for multi-domain hosting, but you will need more than one to isolate different applications and limit user access.

When you create a new webspace, the domain name you enter in step four is automatically added. You can verify this by clicking on the Websites & Domains tab after step five is completed.

  1. Log into the Plesk Control Panel for your domain. See Figure 1 above.
  2. Click on the Webspaces tab. See Figure 7:


    Figure 7.

  3. Click on Add Webspace, see Figure 8.


    Figure 8.

  4. Enter the information for your domain, see Figure 9.


    Figure 9.

    • Domain name: myotherdomain.com
    • IP address: Select your IP address.
    • Username: myotheruser
    • Password: Please choose a strong password.
    • Repeat password: Please enter your password again.
  5. Click the OK button.

Add a domain alias

A domain alias will allow you to show the same website content for multiple domains. The alternate domains will remain in the URL (in the address bar of your browser). Aliases do not count against your Plesk domain total (10030 allowed with the default license).

TIP:

  • If you want the URL to change to the target domain, you should use a 301 Redirect instead.
  • If you want separate email addresses for the alias, you will have to add the domain normally in Plesk and choose ForwardingFrame Forwarding during the hosting configuration.
  1. Log into your Plesk Control Panel.
  2. Click on the Websites & Domains tab.
  3. Click on Add Domain Alias.
  4. Enter the domain alias name and click the OK button.

For more information on domain aliases, please see: Administrator's Guide, Parallels Plesk Panel 11.0: Adding Domain Aliases.

Reseller mode: The Server Administration Panel

You will need to enable this interface view. This interface is primarily used by resellers. For instructions, please see: How can I change my Plesk interface?

Add new domain as its own subscription

We recommend that you add each domain as its own subscription. This method provides each domain its own Control Panel. Please keep in mind that each domain added in this manner will be a count towards your 100-domain license.

1. Log into the Plesk Server Administration Panel. See Figure 10:


Figure 10: The Plesk Server Administration Panel. Click for a larger view.

2. Click on Subscriptions. See Figure 11:


Figure 11: Click on Subscriptions in the left column.

3. Then, click on Add New Subscription. See Figure 12:


Figure 12: Click Add New Subscription.

4. You will now need to fill out your website and subscription information. See Figure 13:


Figure 13: Fill out your domain name, username and password, and subscription details.

  • Domain name: Fill in your desired domain name.
  • IP address: Select the IP address for your subscription.
  • Username: Create a username for this subscription.
  • Password: Create a password for this user.
  • Service plan: Choose Default Domain, Unlimited, or None. These refer to resource allocation for your domains.
  • Add-ons: Choose the Web Presence Builder add-on if desired. This is a GUI for creating your website.
  • Choose whether you want to want to customize the subscription parameters.

Click OK.

5. If you selected the option to customize your subscription, you will now be brought to the Customizing Subscription screen. See this article for details for details.

6. You will be returned to the main subscription page. Your new subscription is displayed. If you want to proceed with configuring your domains, click on Manage hosting next to the appropriate subscription. See Figure 14:


Figure 14: Click on Manage hosting to start configuring your domains.

Add additional domain to a subscription

Follow these instructions if you want to add your domain to an existing subscription. For example, mydomain.com and myotherdomain.com will be on the same subscription. You will be able to access both domains from the same Control Panel.

  1. Log into the Plesk Control Panel for your domain.
  2. Click on the Websites & Domains tab at the top.
  3. Click on Add New Domain.
  4. Please fill in the information for your domain, then click OK.
    • Domain name: This is the domain or subdomain you want to host. It should be something like example.com. Do NOT use www in front of the domain.
    • DNS Settings: Decide whether you want to use Plesk as your DNS nameserver, or an outside nameserver. Do not keep DNS zone on this server is the recommended option, which will allow you to use your (mt) Media Temple nameservers. Please see this article to make sure your domain is added to our nameservers in the AccountCenter.
    • Hosting Type: Website hosting will allow you to upload content to the server here. Forwarding is for forwarding your domain to another website. No hosting allows you to set up an email-only domain.
    • Document root: This is the folder where you will upload all of your content. You can use the default folder name that is suggested, or type your own. DO NOT use the same folder name that is set for another domain in this subscription unless you want them to show the same content. The default domain that was created with your subscription is already using the httpdocs folder, so you should pick something else. This is hard to change later (it requires root access), although you can always delete the domain and start over with a new folder name. (Content from the shared domain folder WILL NOT be deleted in this case, because the other domain is still using it.)

    TIP:

    Document root folders are created in /var/www/vhosts/example.com/. The folder httpdocs is created by default. Additional domain folders are on the same level as the httpdocs folder, and belong to the same user (the domain user you created when you created your subscription).

  5. You will be returned to the main page. You should see a confirmation message at the top, and your new domain will be added to the list.
  6. You now have the option to click on any of your domains and adjust their settings (see Figure 6 above). You can change most of the original settings, and you also have access to several new settings as well.

    Feel free to enable or disable supported scripting languages. AWStats are enabled by default, so that you can see website statistics. Only check the box next to it if you want to password-protect the statistics. We also suggest that you check the box for Custom error documents, to make troubleshooting easier.

  1. Log into Plesk.
  2. Click on Domains

    Clickondomains

  3. Click on Add New Domain

    addnewdomain

  4. Select your Client

    selectyourclient

  5. Create new domain for your Client

    newdomainsettings

    • Domain name: If you wish the www to be viewable for your domain, please check the box next to WWW. Next, type in your domain name.
    • Select template: If you do have a template, you are welcome to select it. It is not required.
    • Select an IP address: Choose your desired IP address, if applicable.
    • Make sure you have Proceed to hosting setup checked.
    • Client Card: Displays information about the client you selected.
  6. Select Hosting Type:

    hostingtype

    • Physical hosting: Select this if you want to host your website from your server.
    • Standard forwarding: This will redirect a user to another site and display the actual site's URL in the user's browser. This means the user will see the redirection.
    • Frame forwarding: A user will be redirected to another site. However, the URL in the browser will still display the domain you are creating.
  7. Physical Hosting Setup:

    hostingsetup01

    • IP Address: This will allow you to view or change the IP address for the domain within Plesk.
    • Certificate: This will allow you to choose an SSL Certificate for the domain.
    • SSL Support: This will allow the domain to use https://
    • Use a single directory for housing SSL and non-SSL content: This will allow the domain to use the httpdocs directory for SSL (secure) and non-SSL (non-secure) content.
    • FTP Login: Type in your desired FTP username.
      Old FTP password: N/A
      New FTP password & Confirm Password: Type in the password for the FTP user.
    • Hard disk quota: Choose "Unlimited" or enter an amount of disk space in MB (megabytes).
    • Shell access to server with FTP user's credentials: This will allow the FTP user to login via SSH, and enables the SSH Terminal within Plesk. We suggest you choose /bin/bash.
    • Sitebuilder support: Our (dv) Dedicated-Virtual Servers do not come with Sitebuilder installed by default. You are welcome to install Sitebuilder. However, this will be unsupported by (mt) Media Temple.
  8. More Physical Hosting setup - Services:

    hostingsetup02_1

    • Apache ASP support: Check this if your domain requires Apache ASP. You can learn more about ApacheASP by visiting http://www.apache-asp.org/.
    • SSI support: Check this if your domain requires SSI (Server Side Includes). You can learn more about SSI by visiting http://en.wikipedia.org/wiki/Server_Side_Includes.
    • PHP support: Check this if your domain requires PHP support. You can learn more about PHP by visiting http://us.php.net/.
      • PHP 'safe_mode' on: http://us.php.net/features.safe-mode.
      • CGI support: Check this if your domain requires CGI support. You can learn more about CGI by visiting http://en.wikipedia.org/wiki/Common_Gateway_Interface.
      • Perl support: Check this if your domain requires Perl support. You can learn more about Perl by visiting http://en.wikipedia.org/wiki/Perl.
      • Python support: Check this if your domain requires Python support. You can learn more about Python by visiting http://www.python.org/.
      • FastCGI support: Check this if your domain requires FastCGI support. You can learn more about FastCGI by visiting http://www.fastcgi.com/.
      • Miva support: Our (dv) Dedicated-Virtual Servers do not come with the Miva component installed by default. You are welcome to install the Miva component. However, this will be unsupported by (mt) Media Temple. Learn more about Miva by visiting http://www.miva.com.
      • Coldfusion support: Our (dv) Dedicated-Virtual Servers do not come with the Coldfusion component installed by default. You are welcome to install the Coldfusion component. However, this will be unsupported by (mt) Media Temple. Learn more about Coldfusion by visiting http://www.adobe.com/products/coldfusion/.
      • Web statistics: Choose between None, Webalizer, or AWstats. Check accessible via password protected directory '/plesk-stat/ if you wish to view your stats at http://example.com/plesk-stat/.Custom.
      • Error Documents: Check this if you wish to use your own custom error documents, such as a 404 error page.
  9. Click OK when done.

Add a domain alias

A domain alias will allow you to show the same website content for multiple domains. The alternate domains will remain in the URL (in the address bar of your browser). Aliases do not count against your Plesk domain total (10030 allowed with the default license).

TIP:

  • If you want the URL to change to the target domain, you should use a 301 Redirect instead.
  • If you want separate email addresses for the alias, you will have to add the domain normally in Plesk and choose ForwardingFrame Forwarding during the hosting configuration.

For more information on domain aliases, please see: Administrator's Guide, Parallels Plesk Panel 11.0: Adding Domain Aliases.

  1. Log into the Plesk Server Administrator Panel. See Figure 10 above.
  2. Click on Subscriptions. See Figure 15:

     


    Figure 15: Click on Subscriptions in the left column.

  3. Click on the Websites & Domains tab.
  4. Next, click on Domain Aliases.
  5. Click Add Domain Alias.
  6. Enter the domain alias name and click the OK button.

See the Plesk 8.6 documentation for detailed instructions on creating a domain alias:

Next steps

If your domain will be using (mt) nameservers, you'll need to do add the domain in the AccountCenter. You manage the Zone File for your domain in the AccountCenter, not Plesk. For instructions, please see: How do I add a domain or subdomain to my server?

Resources

 

Continue