Showing results for 
Show  only  | Search instead for 
Did you mean: 

wildcard sub domain problem

hi all,

in order to show the my system allows me to enable the wildcard subdomain(which is enabled) no whenever i try to check my domain throws an error page (in fact it routes me to a page i.e 

i have added a A host with *. entry in the dns but not getting the desired results, i asked my vendor to please look into the issue they said that you please talk to your service provider. 

if anyone can help me in this regard?





Helper I

Did you check your .htaccess file? It could have been misconfigured and not recognizing those subdomains as a proper path. 

Are there any other errors in your error log?

~ eVersatile

@eVersatile, what to change in htaccess file ?


What platform are you using for your website? WordPress, Drupal, etc.

~ eVersatile

First backup your htaccess file.

If WordPress, it should look something like this.


RewriteEngine On
RewriteBase /

# BEGIN WordPress
#uploaded files
RewriteRule ^(.*/)?files/$ index.php [L]
RewriteCond %{REQUEST_URI} !.*wp-content/plugins.*
RewriteRule ^(.*/)?files/(.*) wp-includes/ms-files.php?file=$2 [L]

# add a trailing slash to /wp-admin
RewriteCond %{REQUEST_URI} ^.*/wp-admin$
RewriteRule ^(.+)$ $1/ [R=301,L]

RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule . - [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-.*) $2 [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
RewriteRule . index.php [L]
# END WordPress

~ eVersatile