NullyNuggat

Registered
Sep 20, 2017
2
1
3
South Africa
cPanel Access Level
Website Owner
Hi There!
After awhile with this website of mine it worked perfectly until today:

What happens is when I create a new subdomain for one of the pages on the site it works only like this:

https://page.mydomain.com

instead of

https://mydomain.com/page/

like it used to. I get error 404 with the second one but it works with the 1st one.

This has been frustrating me the whole day as I cannot find a resolution.
Your help is appreciated!
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,258
463
Hello,

Do you have any custom Mod_Rewrite rules configured in the .htaccess file of the subdomain's document root, or in the parent directories document root?

Thank you.
 

NullyNuggat

Registered
Sep 20, 2017
2
1
3
South Africa
cPanel Access Level
Website Owner
Hello,

Do you have any custom Mod_Rewrite rules configured in the .htaccess file of the subdomain's document root, or in the parent directories document root?

Thank you.
After reading about that .htaccess file, I just restored from a backup and it's back up again and new subs work right.
I never changed anything someone just told me "the web died" and I found the weird thing with the subdomains.

Thanks alot. If this happens again I will just manually check for that instead of restoring!
 
  • Like
Reactions: cPanelMichael