Author Topic: Direct domain name to proper directory  (Read 1106 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Direct domain name to proper directory
« on: September 15, 2023, 12:25:56 PM »
Sorry, it has been a while since I had to configure a new server. we just created a staging server using the backup of an existing account. CWP is routing the domain to the default usr/local/apache/htdocs directory. I cannot recall how to configure the server to point to the appropriate directory. I can't even seem to find the right conf file. Can someone point me in the right direction? Thanks.

Offline
*****
Re: Direct domain name to proper directory
« Reply #1 on: September 15, 2023, 01:58:39 PM »
When you made the new user account, did it not create the public_html folder under the /home/userdir path, along with a www symlink?

To replicate your live server to a staging/backup server, are you using CWP Migration to clone your accounts?

Offline
*
Re: Direct domain name to proper directory
« Reply #2 on: September 15, 2023, 09:43:53 PM »
To migrate I used the server backup file to create an instance on a new server. It did create public_html in the proper directory, and the domain shows as pointing to that directory. But trying to access the site I am still ending up with the default page in usr/local/apache/htdocs.