Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9205169
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T23:53:22+00:00 2026-06-17T23:53:22+00:00

Hi my AddOn domain keeps on redirecting to a subdomain. I also noticed that

  • 0

Hi my AddOn domain keeps on redirecting to a subdomain.
I also noticed that this also happens when I try accessing the folder where I pointed the AddOn domain

AddOn Domain: addon.com
Subdomain: addon.maindomain.com
Subfolder: maindomain.com/addon

Why is this so? I’ve seen from the Domain Manager a message like this though.

Addon Parent: The domain addon.com is aliased to addon.maindomain.com

How can I prevent the redirection from happening?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T23:53:23+00:00Added an answer on June 17, 2026 at 11:53 pm

    Try either of these:

    file: maindomain/.htaccess

    RewriteEngine On
    RewriteCond %{HTTP_HOST} ^(www.)?maindomain.com$ [NC]
    RewriteCond %{REQUEST_URI} ^/addon/(.*)$
    RewriteRule ^(.*)$ - [L,R=404]
    

    or

    file: maindomain/addon/.htaccess

    writeEngine On
    RewriteCond %{HTTP_HOST} ^addon.maindomain.com$ [OR]
    RewriteCond %{HTTP_HOST} ^www.addon.maindomain.com$ [OR]
    RewriteCond %{HTTP_HOST} ^addon.com$
    RewriteCond %{REQUEST_URI} ^/$
    RewriteRule ^(.*)$ http://www.addon.com/ [R=301,L]
    

    Cheers!

    Ref:

    https://my.bluehost.com/cgi/help/498

    https://my.bluehost.com/cgi/help/134

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I made a Firefox addon using the Greasemonkey script compiler at arantius.com/misc/greasemonkey/script-compiler. The addon
Does anybody know of a bookmarklet or firefox addon that let's you extract part
When trying to create an addon domain or parked domain in cPanel I get
I'm using the Firefox Addon SDK to build something that monitors and displays the
I use cPanel for hosting my website. I have noticed that if anyone who
I am using this copy directory helper addon for the directory helper to help
I have a site in /public_html folder and I have another one in /public_html/addondomain.com
I have an addon domain with no specified htaccess file but the main site
I'm setting up a quick internal project in a new addon domain in cPanel.
So I have BroadStore.com and NicheStore.com. BroadStore.com is my primary domain and NicheStore has

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.