Getting Started

ID #201

How do I get to one of my subdomains from a temp.modwest.com or secure.modwest.com URL?

Applies to: Grid System

To make your subdomain accessible in a URL as a file path instead of part of a hostname, all you need to do is make a symbolic link to the /htdocs/subdomain from inside the /htdocs/www directory by getting a shell prompt, then:

mkdir /htdocs/subdomain
cd /htdocs/www
ln -s ../subdomain subdomain

where you substitute the name of your subdomain for "subdomain" above.

After that, you will be able to reach your subdomain at http://temp.modwest.com/subdomain and http://secure.modwest.com/subdomain (if you subscribe to the secure service) and http://www.yourdomain.com/subdomain and, as always, http://subdomain.yourdomain.com


Last update: 2010-10-03 16:37
Author: FAQ Admin
Revision: 1.2

Digg it! Share on Facebook Print this record Send FAQ to a friend Show this as PDF file
Please rate this FAQ:

Average rating: 0 (0 Votes)

completely useless 1 2 3 4 5 most valuable

You can comment this FAQ

Comment of Anonymous:
This can be a directory nightmare particularly when trying to share items like server side includes or php includes from one domain to the next and and from a subdomain to master domain.
Added at: 2003-06-09 13:44

Comment of Anonymous:
If your php.ini file uses relative include paths instead of absolute, then there is no problem sharing include files while setting up directories this way.
Added at: 2003-06-09 15:58