• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Issue Adding existing site to Plesk (Ubuntu 16.04)

pnik

New Pleskian
Hello,

I'm new to sys administration, I started working on the server that has Plesk installed, but I was not aware of Plesks vhosts (I've never used Plesk before). So these are the steps I've done:

1. I have setup my site under /var/mysite
2. I have installed all necessary dependencies and database (Postgres)
3. I have installed apache2 and apache mods, activated them and setup apache virtual hosts in /etc/apache2/sites-available/mysite.conf and then activated the site with a2ensite mysite (site is up and running)
4. When I go to my domain, I do not get my site loaded, Instead I get the plesk default page saying "Web Server's Default Page"

At this moment I realized I haven't configure nothing in Plesk, and I tried registering my domain in Plesk, but after trying to add it, I had two troubles: how can I set my document root to /var/mysite/public, and how can I use virtual host I defined in /etc/apache2/sites-available/mysite.conf?

How can I make my site visible?
 
log in to plesk

create the domain

this will create /var/www/vhosts/domain.com/httpdocs

move your files here

job done
 
Back
Top