I've added a subdomain to my site, which added a new DNS record for me. I've created a folder with the same name as the subdomain and put a dummy index.html file in it and then added it as an App Root. However going to the subdomain still points to the root and the hostingstart.html page is displayed. Have I missed a step?
You can use code to control the behavior of your subdomains. Check out this knowledge base article: https://support.discountasp.net/KB/a369/how-to-redirect-a-subdomain-to-a-subdirectory.aspx
The code method mentioned above is a redirect, which is poor for SEO as well as adding another roundtrip for each request. Is it possible to do rewrite to a subdomain or a folder below the root by modifying the web.config similar to this: http://weblogs.asp.net/owscott/iis-url-rewrite-hosting-multiple-domains-under-one-site I've set up the following test web.config in order to rewrite to a subfolder (/web1) and it doesn't appear to work, although I can browse to the subfolder directly. <system.webServer> <rewrite> <rules> <rule name="Web1"stopProcessing="true"> <matchurl=".*" /> <conditions> <addinput="{HTTP_HOST}"pattern="^(www.)?myAltURLForEverLeap.el-alt.com" /> </conditions> <actiontype="Rewrite"url="\web1\{R:0}" /> </rule> </rules> </rewrite> <system.webServer> I may have made some error, I'm just wondering if the architecture of EverLeap allows this method. Thank you!
I've reposted this here since it seems to be a separate issue than this thread: http://forum.everleap.com/threads/possible-to-use-url-rewrites-for-subdomains-in-everleap.135/
I woke up at 1am and realized that I wasn't putting the above rule in the root web.config, so it wasn't being hit. The final answer is here: http://forum.everleap.com/threads/p...tes-for-subdomains-in-everleap.135/#post-2183 Aristotle actually answered it several hours earlier, but you'd expect quick thinking from someone named Aristotle.