Domain and Subdomain
-
Hello Friends, I'm working on property portal where i've to implement subdomain concept. for example http://www.myDomain.com is url of my site. And also, there are some locations as Noida,Gurgaon and etc. As any user click on Noida then my site should display the url as shown here http://noida.myDomain.com. For this i've implemented subdomain concept and also created some subdomain in Domain Panel. But now i've to ask Should i've to keep App_code and web.config file in subdomain(noida) folder as well because if i don't upload App_Code and web.config file in subdomain folder then it raise error(s). Is it any other way to implement this concept(Sub domain) please let me know.
-
Hello Friends, I'm working on property portal where i've to implement subdomain concept. for example http://www.myDomain.com is url of my site. And also, there are some locations as Noida,Gurgaon and etc. As any user click on Noida then my site should display the url as shown here http://noida.myDomain.com. For this i've implemented subdomain concept and also created some subdomain in Domain Panel. But now i've to ask Should i've to keep App_code and web.config file in subdomain(noida) folder as well because if i don't upload App_Code and web.config file in subdomain folder then it raise error(s). Is it any other way to implement this concept(Sub domain) please let me know.
Does your website using more than one server ? Or just you need to change the url :confused:
Abhishek Sur **Don't forget to click "Good Answer" if you like this Solution.
My Latest Articles-->** Microsoft Bing MAP using Javascript
CLR objects in SQL Server 2005
Uncommon C# Keywords/xml> -
Does your website using more than one server ? Or just you need to change the url :confused:
Abhishek Sur **Don't forget to click "Good Answer" if you like this Solution.
My Latest Articles-->** Microsoft Bing MAP using Javascript
CLR objects in SQL Server 2005
Uncommon C# Keywords/xml>I've a single server but is it any other way to display the url as i want ex. http://noida.myDomain.com except the subdomain.
-
I've a single server but is it any other way to display the url as i want ex. http://noida.myDomain.com except the subdomain.
Of course. Just place a handler which can process this. But mind that, you need to register DNS entry for each of your domain. Means if your use just types
http://noida.myDomain.com
I will not go tohttp://www.myDomain.com
automatically, unless you register the both in same IP. :)Abhishek Sur **Don't forget to click "Good Answer" if you like this Solution.
My Latest Articles-->** Simplify Code Using NDepend
Basics of Bing Search API using .NET
Microsoft Bing MAP using Javascript