Login
Register
Home
Wiki Knowledge Base
FreeDNS
Facebook
Linux Support
Control Web Panel
MENU
Home
Help
Search
Login
Register
Control Web Panel
»
WebPanel
»
How to
»
Direct domain name to proper directory
« previous
next »
Print
Pages: [
1
]
Author
Topic: Direct domain name to proper directory (Read 1073 times)
0 Members and 1 Guest are viewing this topic.
srqwebguy1
Newbie
Posts: 7
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.
Logged
overseer
Hero Member
Posts: 1097
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?
Logged
srqwebguy1
Newbie
Posts: 7
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.
Logged
Print
Pages: [
1
]
« previous
next »
Control Web Panel
»
WebPanel
»
How to
»
Direct domain name to proper directory