Skip to content
mm_guest's profile

New Member

 • 

3 Messages

Monday, July 29th, 2013 5:00 PM

DNS mobile redirection

We have a registered domain name that is working fine.  That is, when I visit www.mydomain.com, my site hosted on the comcastbiz.net webserver loads correctly and the url in my web browser shows www.mydomain.com.

 

We have a mobile version of the site in a 'mobile' subfolder on the server that we'd like loaded when visiting our site from a mobile device.  The site loads correctly from my phone, but I get redirected to mobile.mydomain.comcastbiz.net.  Again the site loads just fine but I'd like the URL to read:

 

mobile.mydomain.com or alternatively, www.mydomain.com/mobile.  I don't want the url to contain the comcastbiz.net domain - only my existing domain (mydomain.com)

 

I can see how to manage my DNS settings in the comcast myaccount, edit website interface and I've tried a few things (removing the A record that reads 'mobile' on mydomain.comcastbiz.net) but I can't seem to get it to work.  I'd appreciate it if somebody could point me in the right direction.

 

Thank you.

Accepted Solution

New Member

 • 

3 Messages

11 years ago

Thanks for the reply Jon.  I've updated my dns appropriately with a cname entry per your instructions.  While that is an improvement, it didn't completely solve my issue.

 

After my cname adjustment, if I enter mobile.mydomain.com into my phone's browser, my mobile site displays correctly and the url reads mobile.mydomain.com which is great.

 

However, if I enter www.mydomain.com into my phone's browser, my browser is redirected to mobile.mydomain.comcastbiz.net.  The site loads correctly but my url has the comcastbiz.net domain in it which is what I'm trying to avoid.

 

I think there is a redirect independent of the files that I've uploaded.  I'm guessing the redirect is configured somewhere on the comcast webserver that I can't see.  Does this sound plausible?

Accepted Solution

Administrator

 • 

1.5K Messages

11 years ago

Hello mm_guest,

 

Thank you for sharing your solution to the community!

We appreciate it and look forward to future posts.

 

Thank you

Administrator

 • 

1.5K Messages

11 years ago

Hello mm_guest,

 

Welcome to the forum.

One approach is setup a cname dns entry to direct the mobile users to correct sub-folder.

Ex:

m.mydomain.com --> www.mydomain.com/mobile

mobile.mydomain.com --> www.mydomain.com/mobile

 

 

Thank you

New Member

 • 

3 Messages

11 years ago

I ended up putting another redirect in my index page on the mobile site.  Essentially, it reads the url for the word "comcast" and reloads the page using the mobile.mydomain.com URL instead.  I think this will be fine as a solution.