CNAME based php hostingI have an application that lets users get a *.onemobi.net account (ex. bob.onemobi.net
). Now what I would like to do is give the user the option of being able to use their own subdomain to point to their page (ex. bob.hisdomain.com => bob.onemobi.net
). I have setup the server and bob.onemobi.net works as expected. I have added a CNAME entry for bob.hisdomain.com => g.onemobi.net
(A record on my DNS server) but when I visit bob.hisdomain.com I automatically get redirected to www.onemobi.net. The default behaviour when a site does not exist is to show a page saying "Site does not exist" without any redirections.
I can't seem to be able to figure out what is causing this. I have tried looking around to see what could possibly be causing this but I'm lost as to what to search for. I'm hoping I can get some guidance from this community.