To complete this tutorial, you should know how to do the following:
- Login to Plesk
- Understand Customers and Resellers
Once you are logged into Plesk, make sure you are on the Websites and Domains tab found on the left-hand side, it should look like this:
Step 1.
Click on the Add Domain found near the top of the page.
Step 2.
You are now on the Adding a new Domain page.
- Type in the domain name
- If you want the website to be separate from other websites, select Create a new Webspace. You may also click the drop down and select an existing webspace if you would like the websites to share a webspace with another website (the files will be in the same directory)
- Select an IP address you want the website to use
- Create a unique username to administer the website through FTP. You can create more afterwards
- Create a password
- OPTIONAL: If you have Git enabled on your server, you may pull a website from Git
- Once all of the fields are filled out, click OK
Step 3.
You will need to set the DNS for the domain at your domain name registrar to point to this server. There are 2 options here, you may want to manage your DNS at your domain name registrar, or you may want your VPS server and Plesk to manage your DNS.
Option 1.
Having your domain name registrar manage the DNS may be the simplest option. Go to your domain name registrar and add or modify the A record for the domain name, you will want to point it to the IP address of your domain in Plesk. The IP address is found directly underneath the domain in Plesk. You may want to consider adding MX Records (email) and CNAME Records (ftp) so that all of your services work. Here are some example DNS records to help you get started (use your own domain name):
A Records:
CNAME Records:
MX Records:
NS Records:
TXT Record:
Note: Replace <server.hostname.com> with your own server hostname
Option 2.
You must have 2 different IP addresses to use this option: You may want to have your VPS act as the DNS server for your domains. In order to do this, you will need to do the following steps:
- At your domain name registrar, you need to create Registry Name Servers. Here is an example where the VPS's IP address is 123.123.123.123 and the domain in Plesk is myrebeldomain.com. My registry name server would be ns1.myrebeldomain.com and that would point to 123.123.123.123. For your second IP address, create a second Name server record that looks like this: ns2.myrebeldomain.com which points to the second IP.
- Change the name servers that your domain uses. Change those name servers to be the new registry name servers you just created.
- Once this is done, your DNS should be managed from within Plesk only, that includes managing A records, MX records, and any other DNS records.
You are now done setting your DNS, keep in mind that this may take 24-48 hours to propagate but you should now be able to see your website being hosted on your VPS server with Plesk. If after 48 hours you still are unable to navigate to your website, or if you would like some help with any of these steps, please contact our 24/7 Customer Support team and we will be happy to help!
Comments
0 comments
Please sign in to leave a comment.