Hello. I have a domain "mydomain.com" - I have www.mydomain.com at root directory (ASP.NET MVC+MSSQL) - I'd like have portal.mydomain.com to directory /portal - portal.mydomain.com work with PHP+MySQL Subdomain created. Application Starting Point created. portal.mydomain.com - not avaible! Fiddler show me "HTTP/1.1 301 Moved Permanently" mydomain.com/portal - avaible. But when I upload php files - I get a redirect to domain home page. I tried the KB below but not work: https://support.Winhost.com/KB/a649/how-to-redirect-a-subdomain-to-a-subdirectory.aspx http://benpowell.org/Winhost-com-how-to-really-run-multiple-sites-under-one-account/ I tried edit web.config but not work: <rules> <rule name="portal.mydomain.com" stopProcessing="true"> <match url="(.*)" /> <conditions logicalGrouping="MatchAll"> <add input="{HTTP_HOST}" pattern="^portal.mydomain.com$" /> <add input="{REQUEST_URI}" negate="true" pattern="/portal" /> </conditions> <action type="Redirect" url="http://portal.mydomain.com/portal/{R:1}" /> </rule> </rules> I read all theard at forum but not find simple way to fix that. How to setup subdomain? Anybody help me?
did this ever get resolved?? I have the same question. Why take the solution/discussion offline or into a PM??? isn't the whole point of a forum to 'share' the knowledge or solutions to problems?
What was the name of your subdomain? I had troubles with "portal" name. I renamed it and it worked properly.