Jump to content

Recommended Posts

Posted

Hi all. 

One of my joomla sites used to redirect to m.mysite.com if someone was using a mobile/cell phone. The subdomain was hosted by a third party via a CNAME redirect to their servers.

I no longer want to use their service and deleted the DNS record. I then noticed that search engines such as Bing still link to  m.mysite.com.  Not wanting a "page not found" I though that I could add a CNAME record to point it back to mysite.com

That just leads m.mysite.com  to a cpanel page suggesting that someone has messed things up.

How can i redirect m.mysite.com to mysite.com. Using A records to point at the shared hosting IP address just results in a page not found message?

Should I just delete the new record and then create the m subdomain in cpanel and then redirect that to the root domain?

My head hurts...

Thanks.

Posted

Thanks for the reply Balakrishan.

If I delete the CNAME entry via WHM and then log into cpanel and try to create the m. subdomain (with a view to then redirecting it) I get the following error

Quote

 

There was a problem creating the sub-domain:

You must choose a docroot that the system does not reserve.

 

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...