Category Archives: add-on

Add on domain displays subdomain

I am having an issue with my redirects. I have my main domain and an add on domain. If you enter it will redirect to I understand that when you create an add on domain, your host automatically creates a subdomain. However I need the add on domain to display not .

My current set up:


Document Root /Public_html/def

Redirects to (Not redirected)

SUB DOMAIN (automatically created)

Document Root /public_html/irmcwear

Redirects to (Not redirected)

All of my site files are stored in /public_html/irmcwear. I tried editing the .htaccess file but then my browser gets a “too many redirects” error

Ive tried this and a few others with no luck.

<IfModule mod_rewrite.c>
    RewriteEngine On
RewriteCond %{HTTP_HOST}$
    RewriteRule ^(.*)$ "" [R=301,L]