• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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