DMG Home
  Web Design
  Graphic Design
  Logo Design
  Web Development
  Our Portfolio
  Helpful Articles
     
    Arizona Web Design Quote, and Contact Information  
Contact Directional Media Group Request a web, graphic, logo design quote!
     
 
  News
 

New websites launched:
Band Shirts


Stash Picks, Inc. - California Based Guitar Pick Company
Bags On The Run - An Arizona Based Reusable Bags Company
The MJ Company - Arizona Based Cleaning Company

 

Pointing Multiple Domains to Different Folders

 
  By Kelly Golden, Directional Media Group

When looking through search engine to find out how to create a domain mapping system is almost impossible to fin the right information that you need. We decided to give you examples and the code that is needed to do so.

We have a number of different projects in the work right now, and don't what to pay for new hosting platforms for each domain name. What you can use to make this work is an .htaccess rewrite. Don't know what that is? Well basically what it does is tell your domain DNS to rewrite the pointing to a new folder, or sub folder.

For example you own two sites www.abc.com which helps kids learn how to read, and you want to create a different site say for math www.123.com , but you want both site hosted with the same package. So what you would need to create is an .htaccess file to point the two domains to different locations. Below is a sample .htaccess file using the addresses we talked about. Content you want to emphasize.

Notice that each domain point to a different sub-folder. It isn't necessary to have both pointing to a sub-folder just the newly added domain. The folder is named after the %{REQUEST_URI} !123/ notice the 123 that is what we named our folder under the primary htdocs folder or on some domains the root folder (sometimes also called www).

You can copy the code from above, and paste it into a notepad document, and all you have to remember to do is save it as a .htaccess file.

Where do I place this File?

You're going to have to place the .htaccess file under your root folder, whether it be htdocs, or www. If all is followed your new domain will be pointed to a separate folder on your main account. Good luck!

 

 
     
 
 
Paramore Merch | All Time Low Merch | A Day To Remember Merch | Chiodos Merch | Mayday Parade Merch | Attack Attack Merch
The Devil Wears Prada Merch | nevershoutnever merch

Directional Media Group Phoenix, Arizona © 2009 All rights reserved