Direct domain name to proper directory

Started by srqwebguy1, September 15, 2023, 12:25:56 PM

Previous topic - Next topic

srqwebguy1

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.

overseer

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?

srqwebguy1

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.