This section walks you through the steps teaching you to perform the most essential web hosting tasks with the help of Plesk. By the end of the tutorial you will have created a functional website, added a database and a mail account, and also learned how to manage DNS records and back up your website.
Step 1. Create Your First Website
To set up your first website, you need to follow these steps:
- Register a domain name.
- Add a domain in Plesk.
- Create your website.
Registering a Domain Name
Think of the domain name as your business' address. Your customers will use it to find you online, so make sure that it is a good one. The best domain names are short, easy to type, and easy to remember. An example of a domain name is example.com. Registering a domain name can be done through one of the many organizations called domain registrars. Your hosting provider will usually be able to assist you in registering a domain name as well. Web hosting services are often bundled with domain name registration offers, and vice versa.
If you are a web hosting customer, make sure that when registering a domain name through your hosting provider, it is registered in your name. Otherwise, you may have trouble if you decide to change your hosting provider in the future.
Adding a Domain in Plesk
If you are a web hosting customer, your provider has most likely already added your first domain for you. If they have not, contact your provider. If you are a web admin using the Power User view, you have configured your first webspace during the initial Plesk setup. Adding a domain in Plesk enables you to upload content, use Presence Builder, or install a content management system.
In the future, you can add more domains, but for the purpose of this section, your first domain will suffice.
Creating Your Website
There are three ways to create the content for your website. Each has its advantages and disadvantages. Here is a short summary of all three:
- Employ a professional designer and upload content. This option guarantees you will get exactly what you want. However, it is also the most expensive one. The web designer will provide you with the files you will need to upload to your hosting account. You can do it using FTP or the File Manager. To learn how to do it, click here.
- Use Presence Builder. The Presence Builder tool that comes bundled with Plesk enables you to create websites using a web interface. You can use one of the provided templates to create a professional-looking website in a matter of minutes. To learn how to do it, click here.
- Use a content management system. Content management systems (CMS for short) are third-party applications that enable you to create and maintain a website. They are highly versatile, and come with a large number of optional add-ons. CMS offer greater degree of customization as compared to Presence Builder, but demand more technical knowledge from the user. To learn how to do it, click here.
Option A. Upload Content
If you have coded your website yourself, or employed a web designer to do it for you, you need to upload the website content to Plesk before the website becomes available on the Internet. Plesk gives you the option to upload content either using FTP, or the file manager. The instructions below explain how to do both - choose which option works best for you.
To publish a website using FTP:
- Download an FTP client program. You can choose any FTP client you like. If you do not know what FTP client to choose, you can use FileZilla:
- You can download FileZilla here: https://filezilla-project.org/download.php?type=client
- You can find FileZilla documentation here: https://wiki.filezilla-project.org/Documentation
- Connect to your webspace on the server using the FTP client. To connect, you need the following information:
- FTP server address. The FTP address should be ftp://your-domain-name.com, where your-domain-name.com is your site’s Internet address.
- FTP username. It is identical to your system user name. Note that the system user name may differ from the username that you use for logging in to Plesk. To find what your system user name is, open the Websites & Domains tab and click Web Hosting Access. You will find it under Username. You can change your system user name if you want.
- FTP password. It is identical to your system user password. If you do not know what your system user password is, open the Websites & Domains tab and click Web Hosting Access. You can reset the password underPassword.
- Switch on the passive mode if you are behind a firewall. Refer to your FTP client documentation to learn how to enter the passive mode.
- Upload the files and directories of your site to the
httpdocs
directory. If you use CGI scripts, place them in thecgi-bin
directory.
To publish a website using the file manager:
- On your computer, add the folder containing your website’s files to a .ZIP archive.
- In Plesk Control Panel, go to the Files tab, click the
httpdocs
folder to open it, click Upload, select the archive file, and click Open. - Once the file has been uploaded, click the checkbox next to it, click the More button, and select the Extract Filesoption.
It is possible that the website you have uploaded requires a database to function. To learn how to create a database, click here.
Option B. Create your Website in Presence Builder
To create a website using Presence Builder, go to the Websites & Domains tab > Presence Builder and click Create Site.
Find more information on creating and editing websites in Presence Builder, click here.
Creating your website in Presence Builder means that you do not need a database. Proceed to the next step to learn how to create a mail account in Plesk.
Option C. Install a Content Management System
To create a website using a Content Management System (or CMS), go to the Applications tab > Install.
Note that installing a CMS following the instructions above means that a database will be created for your website automatically. Proceed to the next step to learn how to create a mail account in Plesk.
Step 2. Create a Database
Databases are relational structures used for storing data. Databases are indispensable in modern web hosting, and most of the popular CMS require a database to operate. Plesk supports MySQL, MSSQL and PostgreSQL database servers, and enables you to add, remove and access databases, as well as manage database users.
If your website does not require a database, proceed to the next step to learn how to create a mail account in Plesk.
To create a database and a database user:
Go to the Databases tab > Add Database.
Step 3. Create a Mail Account
Mail service enables Internet users to send email messages to each other. Plesk can function as your mail server. It also enables you to create mail accounts and manage them, including performing a number of common mail-related operations. Such operations include changing the password for a mail account, enabling automatic replies, and so on.
If you do not need to create a mail account, proceed to the next step to learn how to add a custom DNS record in Plesk.
To create a mail account, go to the Mail tab > Create Email Address.
Step 4. Add a Custom DNS Record
DNS records serve to facilitate domain name translation and help visitors reach your website online. When a domain is created in Plesk, all the necessary DNS records are added automatically. However, Plesk also enables you to add custom DNS records, as explained below.
If you do not need to create a custom DNS record, proceed to the next step to learn how to back up your website.
To add a custom DNS record to the domain's DNS zone, go to the Websites & Domains tab > DNS Settings > Add Record.
Step 5. Back Up Your Website
It is always recommended to keep a backup copy of your websites in case their configuration or content becomes damaged or lost.
If you do not need to back up your website, proceed to the next step to learn how to change your password and log out of Plesk.
To access the backup functionality, do the following:
- If you are a hosting customer, go to the Websites & Domains tab > Backup Manager > Back Up.
- If you are a server administrator and are using the power user view, go to Backup Manager > Back Up.
Step 6. Change Your Password and Log Out
If you are a web hosting customer, it is likely that the password you use to log in to Plesk was set up for you by your hosting provider. To change it, hover your mouse pointer over your user name located at the top of the page and clickEdit Profile.
Now that we have performed all the tasks we wanted, it is time to log out of Plesk. Hover your mouse pointer over your user name located at the top of the page and click Log out.
This concludes our tutorial. We hope it was useful, and encourage you to further explore Plesk and learn all the other ways it can make managing your web hosting account easier.