I already have an website on "http://contourline.x10.mx/", so I need to redirect above URL to "http://www.contourline.lk".
They are asking for the dns details of "http://contourline.x10.mx/".
Can anybody help me ?
I already have an website on "http://contourline.x10.mx/", so I need to redirect above URL to "http://www.contourline.lk".
They are asking for the dns details of "http://contourline.x10.mx/".
Can anybody help me ?
Last edited by ladduananda25; 01-07-2011 at 04:55 AM. Reason: add new phase
Why don't you do this from within CPanel?
Code:1) Redirect using Cpanel->Domains->Redirects (going to http://contourline.x10.mx will redirect to http://www.contourline.lk) a) type: permanent (or temporary if you might change your mind later) b) select http://contourline.x10.mx from the drop down c) redirects to: http://www.contourline.lk 2) Create a CNAME DNS record using CPanel->Domains->Advanced DNS Zone Editor (http://contourline.x10.mx appears to be the same website as http://www.contourline.lk) a) name: http://contourline.x10.mx. (period at the end should be there) b) ttl: 14400 c) type: CNAME d) address: http://www.contourline.lk 3) Just host http://www.contourline.lk here! (http://www.contourline.lk will appear to be the same website as http://contourline.x10.mx. you can also use 1) to make it redirect) a) go to the registrar where you bought the domain. set the nameservers to ns1.x10hosting.com and ns2.x10hosting.com b) add the domain in CPanel->Domains->Addon Domains c) New domain name: http://www.contourline.lk d) subdomain/ftp user: (use whatever you want) e) Document root: public_html f) pasword (use whatever you want)
Last edited by garrettroyce; 01-07-2011 at 06:21 AM. Reason: whitespace got deleted *grumbles*
gjr.gr - coming soon: secrets of OCD coding from a self taught tinkerer
Hay,
what is the method, if somebody needs to forward his own URL to "contourline.x10.mx" ?
Thanks.
That person would do #1 or #2. If the person isn't using CPanel, tell them to create a .htaccess file in the document root (public_html usually) with a rewrite rule such as this:
Code:RewriteEngine RewriteRule ^(.*)$ http://contourline.x10.mx/$1 [R=301,L]
gjr.gr - coming soon: secrets of OCD coding from a self taught tinkerer
Thanks dudes.