Friday, April 18, 2014

Sub Domain Creation & Issues

Are you Creating Sub Domains?

About a week back I have come across a problem. I have created a sub domain and I have launched a website that was developed in asp.net 4.0.  After the files are moved, I realized that the site is working fine with the Firefox and Chrome browsers.


But while working with Internet Explorer, I found that the sessions and Cookies were not supported. After a detailed diagnosis, I found that the problem is with the sub domain naming.

How a Subdomain name should not be?
my_staging.mysite.com

In the above naming, I am using an underscore and it is vulnerable.

You can create the sub domains as follows.
  • my.staging.mysite.com
  • mystaging.mysite.com
  • mypage4test.mysite.com
I hope this will help a lot of guys who are attempting a sub domain creation. Happy Blogging!!!

No comments:

Post a Comment