• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    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. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Chaning File Path for Domain

J

JonathanY

Guest
Hello guys,

I added a domain to my plesk panel, and it says it is located at /httpdocs

but after setting up the namservers and everything, the actual files it displays on my site is located at

/var/www instead of var/www/vhosts/domain.com/httpdocs

How can I fix this?
 
What sort of output

# grep HTTPD_VHOSTS_D /etc/psa/psa.conf

?
 
but after setting up the namservers and everything, the actual files it displays on my site is located at

The website files you see in the browser, are they the website files you uploaded or just some default parking page ..?
 
They are the pages I uploaded. I originally uploaded it to the var/www/vhosts/domain/httpdocs folder but they were not displayed, after I moved them to the /www/ folder they can be seen.
 
OK, that is interesting ...Had you already rebuilt the vhost configurations ? If not please do so right away with /usr/local/psa/admin/sbin/httpdmng --reconfigure-all

if that fails to resolve your problem, I would love to take alook at your server configurations, you can PM me.
 
What do you mean by rebuilding my vhosts config? How can I do so?
 
To rebuild the vhosts, you run the command from SHELL:

/usr/local/psa/admin/sbin/httpdmng --reconfigure-all
 
Back
Top