|
|||
|
Accounts not directing to proper public _html
This may be more of a server problem than whm/cpanel, but I'm pretty stumped.
I have a domain I'm using as a name server which is properly set up to point to my server's IP. (i.e. www.serverdomain.com) If I visit the domain (www.serverdomain.com) I see the proper apache/cpanel success install page. I created a new user account (i.e."user") which is set to have a different default domain (i.e. www.accountdomain.com). When I try to visit "www.accountdomain.com" I still see the default apache/cpanel success install page that is on "www.serverdomain.com", not the files that are in "home/user/public_html" If I go to "www.serverdomain.com/~user/" the proper content is displayed and the same if I go to "www.accountdomain.com/~user/", the same proper content is displayed. Apparently the server doesn't distinguish the difference between the servers main domain and the domain per an account. Everything else appears to be set up right for the file structure and account properties. If I ftp or ssh in as the "user" I see only the files and folders I am supposed to. FTPing into the system using the "user" account takes me right to the "/home/user/" directory. Any ideas what I have not set correctly? Thanks! |
|
|||
|
Was the IP of the domain you created changed? If the IP is changed, there will be a small downtime.
__________________
www.cliffsupport.com Affordable Server Management Solutions cPanel server management |
|
|||
|
Yes we know the addon domain has the same IP as the main account
but the question is whether your computer at home is resolved the correct IP address or not. Bring up a DOS window (or shell if running Linux) and type: Code:
ping yourdomainname.com Is the IP address shown, the same as your new hosting account? If you just recently (within the last 72 hours) changed the DNS servers on the addon domain to point to your new hosting account, it is possible that your ISP or your own computer is using old cached routing information instead of the actual live DNS information and your computer is instead trying to connect to where the domain USED TO BE before moving it instead of where it is located now. If the account no longer exists where the domain used to point, you would be shown the default page on that server instead of a web hosting account. If your computer is showing the wrong (old) IP address when you check from your computer, there is something you can do to fix that and force your computer to go to the correct IP address: In Linux, it's /etc/hosts Under Windows, C:\Windows\System32\Drivers\Etc\Hosts If you put the domain name and IP address in that file, your computer will use the IP address you specify when trying to connect instead of normal DNS resolution. PS: Per your topic subject, addon domains don't have files in /public_html For "addon" domains, you just drop the files where FTP connects and don't have to change to "/public_html" like you do with the main domain.
__________________
[b][color="Blue"]Server Support[/color]: [color="Red"]Server consulting, security, and management![/color][/b] Last edited by Spiral; 07-09-2009 at 06:48 PM. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Re-directing from a non-existent subdomain? | niya | cPanel Newbies | 3 | 03-28-2007 10:48 AM |
| How can I make FTP accounts that are not Public? | Lagman | cPanel Newbies | 4 | 10-01-2006 11:39 AM |
| directing http to https | ctbhost | cPanel and WHM Discussions | 1 | 08-10-2004 08:46 AM |
| Making an accounts Stats public | fishfreek | cPanel and WHM Discussions | 5 | 04-26-2004 05:59 AM |
| Domain Directing | 1webguru | cPanel and WHM Discussions | 1 | 10-30-2003 03:21 PM |