| Author |
Message |
brianpeiris
Joined: 12 Jun 2005 Posts: 2
|
Posted: Sun Jun 12, 2005 3:28 pm Post subject: force Redirecting yourdomain.com to www.yourdomain.com :?: |
|
|
I've found this webpage that describes the procedure to enable this, however I cannot find the httpd.conf file through cpanel, can anyone help  |
|
| Back to top |
|
 |
kevin CWH Staff
Joined: 13 Dec 2004 Posts: 209 Location: Vancouver, BC
|
Posted: Fri Aug 12, 2005 10:31 am Post subject: |
|
|
In a shared hosting environment, customers cannot access or edit the httpd.conf file.
To redirect domain.com to www.domain.com, just put this in index.htm or index.html file on the top:
<META HTTP-EQUIV="Refresh" CONTENT="0; URL=http://www.domain.com">
OR:
Create .htaccess file which contains:
Redirect domain.com http://www.domain.com
and upload to your root content directory (usually in /www or /public_html) |
|
| Back to top |
|
 |
|