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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T14:55:27+00:00 2026-05-29T14:55:27+00:00

I have recently done some website work for a charity. The site I have

  • 0

I have recently done some website work for a charity. The site I have built has been hosted on my own domain, in a directory. The site’s address is http://www.mydomain.com/newsite/

The organisation has purchased their own URL and would like that URL to point to my hosted site such that the user goes to http://www.Charity.org and is shown the content from http://www.mydomain.com/newsite/

I’ve partially achieved what I wanted to do by using a 302 redirect and a frame, which I set up through the control panel for http://www.Charity.org, however this has the disadvantage of never displaying anything other than http://www.Charity.org in the address bar.

Essentially I would like to “mask” the mydomain URL with the charity one, so that the folder structure is still visible to the end user. If they go to http://www.charity.org/events then that’s what they should see in their browser, but the content should map to http://www.mydomain.com/newsite/events

I have explored CNAME and A NAME solutions but neither of these seem to allow me to point to a directory.

Is this even possible?

  • 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-29T14:55:29+00:00Added an answer on May 29, 2026 at 2:55 pm

    The solution is A NAME record.
    In DNS zone file of charity.org, create A NAME record of www (& @) to point to your server IP (where the website live).
    On server, you’ll have to set DocumentRoot for http://www.Charity.org host. DocumentRoot must be the directory in which default webpage (index.htm, index.php etc) live. Done!
    Provide your web server details if you need further help about setting DocumentRoot.

    This can also be done with CNAME, but it’ll require more complex server side configurations. And, I don’t recommend to use masked web forwarding because its not SEO friendly and universally compatible.

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

Sidebar

Related Questions

I've been doing some web development work in PHP recently which has led me
I recently have been getting more into C++. I have done some (very minimal)
Our website has been recently hacked (Joomla 1.5, hosted on VPS). Attacker added few
I have done some computer graphical programming recently, and I have no experience before.
We have a relatively popular website, and recently we started seeing some strange URL's
I have recently written a survey application that has done it's job and all
We have a site hosted in IIS6 that we built using the .NET 1.1
I recently have done some refactoring to my project and I receive the following
Recently I've studied the backpropagation network and have done some manual exercise. After that,
I am a beginner to RoR and have been doing some coding recently myself

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.