Skip to main content

sub domain shows folder name rather than host name?

Comments

3 comments

  • cPanelMichael
    Hello :) It seems like this is happening due to custom redirect rules because it's not the standard behavior. Do you have any Mod_Rewrite rules configured within any of the .htaccess files on your account? Thank you.
    0
  • bleunetizen
    Thanks for the info. I tried removing .htaccess file and it indeed fixed the issue. What does the file do and do I need that file? WHen does that file get created? Thanks :)
    0
  • cPanelPeter cPanel Staff
    Hello, By default .htaccess files are usually empty when the account is created. It's used for redirects within cPanel and also to password protect directories. However, other software (WordPress, Joomla, Drupal and a slew of others) can also modify this file. It might contain something that is not compatible with the standard redirect cPanel uses. You'd have to examine the file and see if you can figure it out.
    0

Please sign in to leave a comment.