Control Web Panel

WebPanel => How to => Topic started by: srqwebguy1 on September 15, 2023, 12:25:56 PM

Title: Direct domain name to proper directory
Post by: srqwebguy1 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.
Title: Re: Direct domain name to proper directory
Post by: overseer 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?
Title: Re: Direct domain name to proper directory
Post by: srqwebguy1 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.