SiteAdmin:Addon Domains
From Kb_JMY(晉明夷)
Any stuffs about Addon Domains
Possible to display the addon domain as http://www.mysite.com/mac, instead of http://www.mysite.com ??
- Ref:
- Hostgator email support ticket[#UVO-633522] May 18, 2007 1:22 PM -- subject-- Re: [#UVO-633522]: Possible to display the addon domain as http://www.MyanmarArtClub.com/mac, instead of http://www.MyanmarArtClub.com ??
- Problems:
- Per my understanding, addon domain system will redirect any access of the addon domain: http://www.mysite.com to the sub-directory:
- -> /home/mysite/public_html/mac
- -> and rewrite the URL as: http://www.Mysite.com
- and NOT http://www.Mysite.com/mac
- This prevent me to access the application install at:
- -> /home/mysite/public_html/macg2
- -> using the URL: http://www.Mysite.com/macg2
- Solution:
- Create a symbolic link of macg2 under mac using the CronJob command:
- -> ln -s /home/mysite/public_html/macg2 /home/mysite/public_html/mac
- -> then macg2 will be accessed as if it is /home/mysite/public_html/mac/macg2
- -> which means "macg2" can be accesses by http://mysite.com/macg2

