I am using Umbraco with my current website so two folders in IIS one for my current website and one for Umbraco as Umbraco homepage is serving blog in my website but the URL is mywebsite.com/homepage. How can I can I change URL to mywebsite.com/blog
I tried to change Name and Alias property under templates.
But it is not changing the URL.
Sounds to me your iis application is bound to "mywebsite.com/homepage" instead of "mywebsite.com/blog". Can you check this? Also you can check the hostname that Umbraco is bound to (right mouse on rootnode and select Hostnames).
Related
I have an existing Web Application hosted in IIS which an ASP.NET MVC application. Now I want to add a sub application,But when I deploy, some relative paths like "~/" or "/" will be imported back to my parent application.
Example:
The URL of the parent application is https://www.example.com/
Then my sub application is https://www.example.com/subApp/
When I try to click on the "subApp/test" page, it should be directed to https://www.example.com/subApp/test, but he still leads back to https://www.example.com/test.
How can I solve it?
Can it be modified through Web.Config instead of going to each page one by one
check your URL rewriting module. if it is there?
I am using umbraco 7.1.3.
My requirement is to create another sub-domain in main site dynamically as per user request.For example I have implemented umbraco cms for my site "ww.xyz.com" & I am updating content through umbraco login. Now I want to create sub-domains for different clients as per their request... like : "www.xyz.com/client1", "www.xyz.com/client2" and so on...
Now all sub-domain site should have it's own umbraco framework, so client-site (sub-domain owner) can login and update their information respectively.
To achieve this requirement I implemented following steps...
First I register a umbraco website in IIS and configure it, and that worked properly.
Then I register another umbraco website in IIS and configured it, and that also worked properly.
Now to implement sub-domain logic...
I simply copied 2nd website's folder in to first website folder. Then convert that folder to application through IIS.
As per my expectation this should work, As I have already done the same in asp.net and it worked.
But with umbraco I am facing issue like "Invalid key value".
I think the issue is related to some umbraco configuration, but I am not able to figure it out.
Thanks & Regards
A bit of an open door, but since I don't see it mentioned in any of the comments and it's a bit hidden away in Umbraco 8. Have you tried setting the urls in the Cultures and Hostnames section?
Note: you get to this by going to "Content", in the content tree right click on your homepage and now you get several extra options which are normally hidden away with also the very useful Hostname and Cultures option which allows you to support multiple urls.
In Umbraco, why does one get this error on a new deployment or machine that is pointing to an existing umbraco database and existing content?
Page not found
No template exists to render the document at url '/'.
In addition, no template exists to render the custom 404.
This page can be replaced with a custom 404. Check the documentation
for "custom 404".
This page is intentionally left ugly ;-)
One other thing to check is that if the page is published you have a template selected for the page or you will also get a 404 error.
The reason it was doing that was because the domain name wasn't setup correctly.
I was using a custom domain to host the site, and umbraco was obviously not matching the incoming request to a site in the CMS.
By going to the Site and right clicking -> Culture and Hostnames, I could set the hostname.
As per this answer: Umbraco configured with IIS 7 having hard time with the site URL?
Did you set your hostname in Umbraco?
Right click on the site root in your solution and click "Culture and hostnames"
Fill out your hostnames and save
You could try and force a full republish and refresh of content, use http://example.com/umbraco/dialogs/republish.aspx?xml=true assuming your installation wnet well and you can see the pages in the content area. As for the 404 you need to set one your self and assing it in the umbraco config file.
I've installed Umbraco v6.1.6 locally and finished developing multiple-skinned site. Each skin has its own IIS site and application pool and use the same umbraco instance. Everything is working as expected in this local setup.
But when I tried going live it didn't go smoothly as expected. :/
The structure is somewhat like so:
Site-A
EN
Home
ES
Home
Site-B
EN
Home
ES
Home
I've configured Site-B with IIS to use my owned domain and the EN, ES languages to use the domain/EN, domain/ES respectively. The skin and language nodes have a macro that reads a picked content to navigate to, and I've configued each one to navigate to the Home page.
The macro fails because Umbraco sets Model object to be Site-A's, even though I'm seeing the Site-B's address in the browser's address bar.
Why Umbraco ignores my hostname settings and sets a different node from a non-hostnamed site as my Model object ? How can I fix this issue ?
Thanks for the helpers and readers (!)
If I understand your setup well, you created different sites pointing to the same folder on your disk.
If so, stop doing so. Create just one "iis site", and add the different bindings (domain names) to the single site.
Then right click on your root nodes (SITE-A) and add the hostname. Click on the Language node (EN) and only add a culture (no domain name). Repeat this for other sites and language nodes.
Your site will now automatically pop up when the hostname matches.
How to use subdomain like user.test.com in IIS 7. Suppose we have main domain test.com.
I want that when we call user.test.com IIS will use test.com domain. And subdomains may be a lot of amount.
Thanks, in advance
Just create new Site/Application in IIS management console.
Click on newly created site and in Actions/Edit site/Bindings... Bindings dialog will be opened. There you can define as subdomain URL for you site. Click 'Add' and put user.domain.com as your host name;