|
|
 Rank: Fanatic
Joined: 7/19/2006 Posts: 206 Location: New York, NY, USA
|
Hi, I'm setting up a new site. For various complicated reasons I need umbraco to be installed in a subdomain like this: http://site.mydomain.comI created a subfolder like this: http://www.mydomain.com/site/and copied all the umbraco files into it. I set up /site/ as a Virtual Directory and did various updates to my web.config The install files worked fine, as far as I can tell, but when I go to http://www.mydomain.com/site/umbraco and the login page comes up, I can't login. It just keeps refreshing the page as if I had put in an incorrect password. I know the username/password I am using is correct because I checked in the db table. Any ideas? Also, I'd like this to run successfully as a subdomain and have set up 'site' as a Virtual Sub Domain, but if I go to site.mydomain.com/umbraco, the login page that pops up gives this error: Server Error in '/site' Application.
The resource cannot be found. Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly. Requested Url: /site/site/umbraco/logout.aspx Here is some of my web.config, in case I'm just missing something simple here: Code: <authentication mode="Forms"> <forms name="yourAuthCookie" loginUrl="login.aspx" protection="All" path="/" /> </authentication> ... <globalization requestEncoding="UTF-8" responseEncoding="UTF-8" /> </system.web> <appSettings> <add key="umbracoReservedUrls" value="/site/umbracoTextGen.aspx"/> <add key="umbracoReservedPaths" value="/site/umbraco/,/site/install"/> <add key="umbracoContentXML" value="/site/data/umbraco.xml"/> <add key="umbracoStorageDirectory" value="/site/data"/> <add key="umbracoPath" value="/site/umbraco" /> <add key="umbracoDbDSN" value="Server=sknet87.gonewithewind.com,25000;Database=C3092_IMumbraco;User ID=C3092_hfloyd_umbraco;Password=yinyang;Trusted_Connection=False"/> <add key="umbracoSmtpServer" value="127.0.0.1"/>
<add key="umbracoHideTopLevelNodeFromPath" value="true"/> <add key="umbracoEditXhtmlMode" value="true"/> <add key="umbracoUseDirectoryUrls" value="false"/>
<add key="umbracoDebugMode" value="true"/> <add key="umbracoTimeOutInMinutes" value="20"/> <add key="umbracoDisableVersionCheck" value="true"/> <add key="umbracoDisableXsltExtensions" value="true"/> <add key="umbracoDefaultUILanguage" value="en"/>
<add key="umbracoProfileUrl" value="profiles"/> <add key="umbracoConfigurationDone" value="211"/>
<!-- optional connection string for stat data - if empty and stat is enabled the default connection string will be used (umbracoDbDSN above) --> <add key="umbracoStatDbDSN" value=""/> <add key="umbracoEnableStat" value="false"/>
</appSettings>
Any help greatly appreciated! Thanks, Heather Whole Web Impact | Floyd Innovations LLC | Heather Floyd's Blog
|
|
 Rank: Enthusiast
Joined: 8/25/2006 Posts: 40 Location: Denmark
|
Can't you just make a new IIS entry for the subdomain? Kasper
Work: pakhus14.com Personal blog: pepfugl.dk
|
|
 Rank: Addict
Joined: 7/19/2006 Posts: 601 Location: Bad Homburg, Germany
|
If you have a subdomain like subdomain.domain.tl you can login via subdomain.domain.tl/umbraco/login.aspx. Also you have to set this dir in IIS as application. Or did I missunderstood you? Thomas
• 2007/2008 MVP • www.thoehler.com • Bad Homburg, Germany
|
|
 Rank: Fanatic
Joined: 7/19/2006 Posts: 206 Location: New York, NY, USA
|
This is all on a shared hosting environment, so I am using their control panel to change settings, etc. Kasper: Thomas: When I put it in: http://site.mydomain.com/umbraco/login.aspx, the login page is there, however when I put in my username/password, I get this error: Server Error in '/site' Application.
The resource cannot be found. Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly. Requested Url: /site/site/umbraco/umbraco.aspx For some reason it is duplicating the "/site" directory. I'm not sure how to fix this. I do believe it is set as a separate application, I have it set up as a Virtual Directory (According to the notes in my hosting control panel: 'Virtual Directory is treated as a Website by IIS, and that's why it has its own Session, Application and global.asa file.') Thanks, Heather Whole Web Impact | Floyd Innovations LLC | Heather Floyd's Blog
|
|
 Rank: Umbracoholic
Joined: 7/20/2006 Posts: 1,075 Location: Charleston, West Virginia, United States
|
Heather, I am familiar with what you are seeing. Even though your hosting environment creates sub-domains as sub-directories, you should set up umbraco as a root based application. You may have to contact the host to have them enable the application aspect for your sub-domain. The other option is that you create the sub-domain as a new site (outside of the other), and create the dns entries on the main domain pointing to the other new site. This gives you the control over the site, and capabilities to manage the domain. You may still need their assistance to get the DNS set up correctly, but in the long run, it will be better for you. The control panel that your host is using is rather limited in its setup of sub-domains. Hope this helps, Case
• 2007/2008 MVP • 2008/2009 MVP • Certified • Licensing • Support • Development • Hosting •
|
|
Rank: Newbie
Joined: 8/5/2008 Posts: 1
|
Sorry to bump such an old topic, but I found it during a search...thought its better than creating a new topic.
I have EXACTLY the same issue. The install went fine, yada yada yada, I put the umbraco_client folder at the root, but this installation, for complicated reasons, needs to be in a subfolder. As the OP did, I set it up as a separate application root and made the required changes to the web.config. (I am using the v4 Beta with MySQL by the way...my host doesn't support MS-SQL)
Most of the Admin CP works fine, but when I try to load up the site, or modify a document type, I get a 404 error; it tries to duplicate the /site folder, resulting in Umbraco not finding a file in 'the /site/site'
Any ideas on a fix??
|
|
 Rank: Addict
Joined: 7/19/2006 Posts: 793 Location: Århus, Denmark
|
Running Umbraco in a subfolder has not been supported since version 2.1.7, and I haven't heard of anyone succeeding in installing it that way. So I don't think that it is a trivial task to do so.
|
|
Rank: Newbie
Joined: 7/29/2008 Posts: 22 Location: Spain
|
Is there any CMS that supports subdomain install?
Thanks
|
|
 Rank: Umbracoholic
Joined: 9/27/2007 Posts: 1,022 Location: Belgium
|
Hi Ezequiel, Must note the difference between subfolder and subdomain. Yes, umbraco can be installed in a subdomain, no, umbraco can not be installed in a subdirectory/virtual dir of a website. Have I misunderstood the question? Regards, /Dirk
level 1 certified - umbraco blog at netaddicts.be - working on an integrated forum4umbraco
|
|
Rank: Newbie
Joined: 7/29/2008 Posts: 22 Location: Spain
|
Hi Dirk,
Yes, what i want to know if others CMS can be installed in a subdirectory/virtual dir. I heard that dnn also won't work that way
Thanks!
Ezequiel.
|
|
Rank: Newbie
Joined: 11/13/2008 Posts: 1
|
Not being able to install Umbraco in a sub-directory is a deal-breaker for me. How can you work with multiple client Web sites on a local machine? XP only supports one IIS Web site.
Ezequiel, you can install DNN in a sub-directory. I have it running on my machine that way.
Aaron
|
|
 Rank: Addict
Joined: 7/20/2006 Posts: 504 Location: NL
|
I've run umbraco in XP many times. The only difficulty is that on XP you only have one website (an IIS 5 limitation on XP). And, since you must install umbraco in the root of your website you can't run any other sites. If you've already got a site installed on your XP box you're kind of stuck. BUT... http://www.jetstat.com/iisadmin/ is a free tool that will let you create multiple iis sites on XP and easily switch between them. So you can keep your existing wwwroot site and create a new site for umbraco. The only down-side is that XP simply won't let you run more than one site at a time. The IISADMIN tool makes it easy to fire up one site or another. So you can work with umbraco or your existing site at any time. But not both at the same time. Again, this is just XP's limitation. Still, I find the IISADMIN tool a great benefit. Cheers, PeterD
|
|
 Rank: Aficionado
Joined: 6/5/2008 Posts: 147 Location: United Kingdom
|
also you could install Cassini, a free alternative to IIS. This will allow you to run a 2nd website alongside the IIS site. Adz
Adam Perry ( blog, twitter), developing Umbraco based websites and applications for ConnectDigital.
|
|
|
Guest |