PDA

View Full Version : Map Domain


Warren
27th July 2009, 14:10
Hi All,

I am new to ISP config as someone else in our organization normally deals with our server, however I am having a problem with mapping domains.



I have a number of sub-domains which need to be mapped to the master domain.

Something like:
domain.com -directory structure: [I]/home/blah/domain.com/
sub.domain.com -directory structure: /home/blah/domain.com/

Here the sub-domain is mapped to the master domain.

I need this for a multi-site component that I want to use on a Joomla! installation, and it is a requirement for it to work...

All advice appreciated..!

Warren
27th July 2009, 16:16
Hi,

Ok seems i posted in the wrong forum with this... found more info in the Server Operation forum...

More specifically HERE (http://www.howtoforge.com/forums/showthread.php?t=13177&highlight=map+domain)

cheerzzzz!!!

till
28th July 2009, 10:17
Just add all domains as subdomains of the website by clicking on add subdomain, entering the subdomain and selecting the site and then clicking on save. Thats all :)

Warren
28th July 2009, 15:36
Hi till,

Excuse my ignorance here, but would that not just create a normal subdomain with its own directory structure (where u have to load up different files for the subdomain site on the server), and not point to the master directory structure and share the same files?

In essence here I want to use the same files in the master (domain) directory for the subdomain.

till
28th July 2009, 15:45
Please do what I told you above, you will see that it works.

davew
3rd August 2009, 01:31
AliasDomain does what you are asking, it allows you to add any number of domains that point at the same directory structure and level as your target site.

You can use the redirect option to decide if you want the requested domain to be maintained or have the domain auto change to the "master" sites domain.

SubDomain is similar but also allows you to specify a different path.

Warren
3rd August 2009, 11:18
The solution to my question here was to create A records