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 3607930
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T21:26:17+00:00 2026-05-18T21:26:17+00:00

I have a site in /public_html folder and I have another one in /public_html/addondomain.com

  • 0

I have a site in /public_html folder and I have another one in /public_html/addondomain.com.

I want to disable acesss to www.domain.com/addondomain.com but users should still be able to access www.addondomain.com (contained inside public_html/addondomain.com/ folder). I have an .htaccess in public_html folder. How do I do this?

Thanks in advance.

  • 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-05-18T21:26:18+00:00Added an answer on May 18, 2026 at 9:26 pm

    Try:

    RewriteRule ^addondomain.com /this.file.does.not.exist 
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have two folders for a particular web site. There is the main www.mysite.com
I have an app in the main directory of my site at www.mysite.com and
I have obtained hosting space and they registered domain(say www.abc.com ) with an ip(say
I have hosted a site, the documents suggest to put files under folder public_html
I have a site with this simple structure: \public_html {files}.php \files \es For the
I have the following structure -www \-subfolder In www I have my main site's
I am in a situation whereby I have two sites, one a sub-domain of
There is an existing site h*tp://www.oldsite.com/ which I need to redirect to the new
I have the following file: /home/user/public_html/web-site.org/download/audio/1999/01-03 Good News.mp3 The problem is that the error
I'm trying to protect a folder using '.htaccess' and '.htpasswd'. I used http://www.tools.dynamicdrive.com/password/ to

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.