Find jobs - Bet365 bonus - Debt Consolidation - Debt Consolidation - Submit articles

PDA

View Full Version : Help with subdomain


inetiatic
Dec 29th 2007, 3:10 pm
First off, i use Godaddy as my domain and hosting provider.
example..
i have ample.com
and i want the main URL to be ex.ample.com (like that of del.icio.us and others)
How can i use a sub domain to the main url/domain of the website. eg. if i go to ample.com it directs to ex.ample.com.

Johnnyboi91
Dec 29th 2007, 3:16 pm
Either forward it in cPanel under subdomains or use meta refresh in a index.html file in your subdomains root folder:

<meta http-equiv="refresh" content="0;url=http://ample.com" />

inetiatic
Dec 29th 2007, 3:17 pm
So i should create a directory for my sub domain? it currently points to my root folder, just like that of the main address.

BlueDevilMedia
Dec 29th 2007, 3:21 pm
Use a 301 redirect in the .htaccess file :)