Transferred accounts all redirecting to default website page

mike817

Member
Aug 5, 2010
15
0
51
I just reformatted my server and reinstalled cpanel. Then i transferred all my sites back, but they're all redirecting to the default website page. I checked the paths and the ip settings and they both look correct. Can anyone suggest anything else I need to checkout?
 

mike817

Member
Aug 5, 2010
15
0
51
Also direct pages can be accessed fine. But if you hit the top level domain you get redirected. Completely lost here.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,227
463
Hello :)

You can rebuild the Apache configuration file via:

Code:
/scripts/rebuildhttpdconf
Try clearing the browser and DNS cache on your computer and then checking to see if the websites load.

Thank you.
 

mike817

Member
Aug 5, 2010
15
0
51
Hello :)

You can rebuild the Apache configuration file via:

Code:
/scripts/rebuildhttpdconf
Try clearing the browser and DNS cache on your computer and then checking to see if the websites load.

Thank you.
I've rebuilt the httpd.conf a few times now and manually checked the file and I'm not seeing anything wrong. I've cleared the cache multiple times as well but no luck. The weirdest part is it only happens on the top level. If you specify a file directly it loads fine.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,227
463
Can you verify the domain name resolves to the same IP address that's assigned to the account?

Thank you.
 

mike817

Member
Aug 5, 2010
15
0
51
Can you verify the domain name resolves to the same IP address that's assigned to the account?

Thank you.
Yes, DNS is setup correctly. Mail is working, directly linked files are working. But when you hit the domain it redirects to the default webpage.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,227
463
Are there any rules within the .htaccess file in the account's home or public_html directory that could be redirecting the domain name?

Thank you.
 

mike817

Member
Aug 5, 2010
15
0
51
Are there any rules within the .htaccess file in the account's home or public_html directory that could be redirecting the domain name?

Thank you.
None that I see. I'm going to try backing up the sites and then deleting and recreating.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,227
463
Please feel free to let us know the outcome after you complete that action.

Thank you.