Add and Manage Virtual Hosts on a Plesk Server

Table of Contents

Introduction

Learn how to add and manage domains as virtual hosts on a 1&1 Cloud Server with Plesk. Virtual hosts allow you to host multiple separate websites on the same server, with a separate set of directories for each website.

For any 1&1 Cloud Server with Plesk, administrative functions like adding a virtual host should always be done using the Plesk interface.

Requirements

  • A 1&1 Cloud Server with Plesk Onyx (any operating system)

This tutorial uses the Power User view. You can change the Plesk view by clicking Change View at the bottom of the column on the left.

Add a Virtual Host

Log in to Plesk and go to Websites & Domains.

Virtual hosts in Plesk

Click Add Domain.

Virtual hosts in Plesk

Fill out the details for the domain.

Virtual hosts in Plesk

  • Enter the domain name in the Domain name field.
  • For a new website, leave Location of the website's files at the default "Create a new webspace." If you wish to point this domain name to an existing website, choose the existing website from the drop-down menu.
  • Select the IP address for the website.

Virtual hosts in Plesk

  • Choose a username for this domain. This will be used for logging in to the domain with FTP and SSH.
  • Enter a password (twice). To generate a secure password, click Generate.
  • Click OK to add the virtual host.

Manage a Virtual Host

Go to Websites & Domains.

Virtual hosts in Plesk

This will take you to an admin panel for each virtual host. Here you will find the options and administration tools for every aspect of the domain.

To upload documents to the domain using File Manager, click the httpdocs link.

Virtual hosts in Plesk

You can suspend or disable the website by clicking the relevant link.

Virtual hosts in Plesk

There are also many options for applications and features which you can install and manage for the domain.

Virtual hosts in Plesk

To change the settings for the domain, click Hosting Settings.

Virtual hosts in Plesk

In this section, you can change the following settings:

  • Domain name
  • Hosting type
  • Website status (to disable or suspend the domain)
  • Document root, where the website's files are located
  • Whether www.example.com or example.com is the preferred URL.
  • SSL options
  • Web scripting options (for PHP, CGI, etc.)

Comments

Tags: Plesk / Apache