On my hosting account, I created a new subdomain in cpanel. Let's say, beta.mydomain.com.
When I try to access beta.mydomain.com it works perfectly. However, when I try to access beta.mydomain.com, it redirects me to beta.mydomain.com/cgi-sys/defaultwebpage.cgi
How do I fix this?
Edit:
It appears the .htaccess at the root of the webserver might have something to do with this as well. The rules are as follows:
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_URI} !/beta/index\.php$
RewriteRule ^(.*)$ /beta/index\.php [R=302,L]
If I type in beta.domain.com/somedirectory, I get redirected to domain.com/beta/index.php because of the rules. How do I exclude beta.domain.com from the above rewrite rules?