• 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.

system paths???

Mark12345

Basic Pleskian
Is there a guide that shows the file path structure? Specifically, I need to put a path in the database to the "core" folder in a website.

I have Centos 6 with Plesk 12.

I'm switching from a hosted server to a dedicated server. The current path in the database is: /homepages/8/d95069775/htdocs/domain-folder/core/

Would it be something like: /var/www/vhosts/webspace-domain/pongo/core/

Also, what would the database host be? before it was database-name.db.1and1.com.

would it be something like: database-name.server-ip-address

thanks for your help.
 
Last edited:
It is likely to be
/var/www/vhosts/[domain name]/httpdocs/pongo/core/ and you should be able to confirm this by logging in to the new server and checking that this is the location of the website files.

The database will be hosted locally, on your server. So typically in your configuration file for the script you would have 127.0.0.1 as the database server address but you may be able to use localhost instead. In addition, you would specify the database name in the same configuration file on a different line, and of course also the password, again on a different line.

In your shared hosting, it looks as though the database was hosted elsewhere from the website, which is why there was a different address. I would guess that each database created could have been on a different database server, hence you had database-name.db.1and1.com.
 
Thank you for the reply. When you say "logging in to the new server and checking that this is the location of the website files" I'm assuming you mean by SSH such as Putty because I don't know where to find this info in the Plesk control panel.

Also, by researching via SSH, I believe it is: /var/www/vhosts/webspace-domain/pongo/core/
where webspace-domain (or "server name" as defined by 1and1) in my case is: u18*****.onlinehome-server.com

The files that are in httpdocs are just default web page files for: u18*****.onlinehome-server.com

update!! just got the transfer to work! I fixed it by setting $database_server = 'localhost'; as you suggested.

thanks again for your help.
 
Back
Top