The process of creating a new website in Controller is simple and allows you to quickly and easily make all the necessary settings.
How to Create a Website in the Controller
The Controller allows you to create and manage websites, databases, email accounts, FTP users, and much more. Here is a detailed guide on how to create a new website through the Controller environment.
1. Log in to the Controller
Open your browser and visit your server’s control panel URL. Sign in with your user credentials.
2. Navigate to the Sites Section
- Click Sites from the main menu.
- Select Websites and then Add new website.
This section manages virtual host creation for your web server.
3. Fill in the General Settings
You will now see a form where you configure the basic properties of your website.
Domain
Enter your domain name (e.g., example.com). The Controller will automatically create the directory /var/www/example.com.
IP Address & Port
Usually left as default unless your server has multiple IP addresses.
PHP Settings
The Controller allows selecting how PHP will run:
- PHP-FPM
- FastCGI
- CGI
- Custom PHP version
4. Enable SSL (Recommended)
To activate free LE SSL, select:
- SSL
- Let’s Encrypt for a free certificate
Ensure that:
- The domain’s DNS records point to your server.
- No forced HTTPS redirects interfere with verification.
5. Create an FTP Account (Optional)
If you need FTP access:
- Go to FTP → FTP Accounts.
- Click Add FTP Account.
Files will be located in /var/www/example.com/web.
6. Create an SSH/sFTP Account (Optional)
If you want to upload your files with the security offered by SFTP or use SSH
- Go to SSH/SFTP-User
- Select Add new Shell-User
6. Upload Your Website Files
You can upload via:
- FTP
- SSH
- Git deployment
The document root is:
/var/www/yourdomain.com/web
7. Test the Website
Visit your domain in a browser. You should see either:
- The Controller’s default welcome page
- Your uploaded website files
8. Create a Database (If Required)
If your site requires a database:
- Go to Databases → Add new database.
- Specify the database name, user, and password.
- Use phpMyAdmin or an external SQL client to import data.
Detailed information on all fields in the Sites tab can be found in the Controller user manual, in chapter 2.0 Sites.