PDA

View Full Version : Need to Create SubDirectory for m.example.com


SuperMike
06-04-2011, 09:03 PM
I'm new to .net.

I have a site example.com. I have a mobile version of the site that I would like to place at m.example.com

On a Linix server I would:
1) create a subdomain,
2) name it m.example.com,
3) upload my mobile site to m.example.com,
4) redirect mobile users to it.

But here is where I'm stuck: I can't figure out how to create a subdomain using the Discount ASP control panel. (Yes, I have purchased the unlimited subdomain add-on.)

Your responses are gratefully appreciated.

SuperMike

wisemx
06-05-2011, 02:29 AM
...With DASP servers you create the actual folder then use a script to sniff the incoming request and redirect to the folder and sub-domain.
This means you could add a folder: yoursite/mobile
Then redirect as needed to m.site.com which via your scripts would use the files in that folder.