• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • Our UX team believes in the in the power of direct feedback and would like to invite you to participate in interviews, tests, and surveys.
    To stay in the loop and never miss an opportunity to share your thoughts, please subscribe to our UX research program. If you were previously part of the Plesk UX research program, please re-subscribe to continue receiving our invitations.
  • 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.

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