How do I add a website to my VPS? Print

  • 0

The steps depend on whether you use a control panel or a plain stack.

With a control panel (cPanel, CyberPanel): create a new account or website, enter the domain, and the panel sets up the document root, database, and DNS for you.

On a plain LAMP/LEMP server:

  1. Create a folder for your site, e.g. /var/www/yourdomain, and upload your files.
  2. Add a virtual host (Apache) or server block (Nginx) pointing to that folder.
  3. Reload the web server: systemctl reload nginx or apache2.
  4. Point your domain's A record to your VPS IP, then add a free Let's Encrypt SSL with certbot.

On unmanaged plans this is your responsibility; managed customers can open a ticket.


Was this answer helpful?

« Back