Add Domains With CentOS Web Panel

When working with CentOS 7 Web Panel (CWP7), you may need to add a domain to an existing user. This is common when wanting to have multiple variations of a domain point to the same content or if you have more than one site among domains that you wish to host inside the same user account. This guide will go over how to add domains within CentOS Web Panel.

You will need to create a user if you have not already created one. Follow the instructions to create a user account in CentOS Web Panel before following this guide.

Adding the Domain

Step 1: If you are not already logged in, log in to your CWP7 dashboard. By default, this is done by navigating to the IP Address of your server and affixing the port number of “2030” at the end. Looks something like this:

Once logged in, you should see your CWP7 Dashboard.

Domains Drop Down

Step 2: click on the  dropdown on the left, then click  to be taken to the Add Domain page.

Add Domain Page

Step 3: Insert the domain you wish to add in the Add Domain text box. Do not include “www.” This is technically a subdomain and CentOS Web Panel will add this for you.

Add Domain Text Box

Step 4: Select the user you wish to assign the domain to from the to User dropdown. You may not need to do anything here if you have only setup one user.

Step 5: Enter the location in your hosting directory that you want this domain to use as its root directory. The default is to have your website stored in a subfolder of your primary /public_html/ folder. To change this behavior, you can enter a different folder where it currently shows /public_html/. This is also where you can enable AutoSSL if you wish to use your current method of AutoSSL (Let’s Encrypt is the default for CentOS Web Panel). This must be configured before hand.

Folder Path Box

Step 6: Click Create and your added domain will run through the “create” process. You will see a Success! alert near the top of the page after the process is complete.

It is normal to see an error message stating “AutoSSL Issue Failed!”  listed above the success box. AutoSSL cannot succeed on a domain that has just been added. AutoSSL Will continue to run its scheduled tasks and apply a valid certificate to the new domain, assuming it is configured correctly. Please allow up to 24 hours for this to take place.

You have successfully added a domain to an existing user account. You are now free to login to the user account and configure the domain as you intend.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Admin Email Creation within CentOS Web Panel

When using CentOS Web Panel, you will need to be able to manage emails when administering the...

Admin Email Management Within CentOS Web Panel

When using CentOS Web Panel as your server management portal, you will need to manage email...

CentOS 7 Web Panel Overview

A solid control panel is strongly desired for many Ch-center clients. In many cases, it may come...

CentOS Web Panel Antivirus Scan

Sometimes you need to run a virus scan on your server to make sure your files are not infected...

CentOS Web Panel Custom DNS

CentOS Web Panel (CWP) offers a couple of different methods of managing DNS within its settings....