Web farm names in Kentico

125 views Asked by At

In my Kentico Xperience 13 website developed using .Net 6, I can see that the web farm for my live site is not named as it is supposed to be: https://docs.xperience.io/configuring-xperience/setting-up-web-farms/configuring-web-farm-servers.

It should be named JohnD_MyLive_AutoExternalWeb (JohnD being my machine name, MyLive the virtual application to access my live site at https://localhost/MyLive). It keeps being named JohnD_AutoExternalWeb which is an issue as it impacts all my URL links (instead of being https://localhost/MyLive/Home, it is https://localhost/Home), medias and attachments (instead of https://localhost/MyLive/getattachment/1234, it is https://localhost/getAttachment/1234).

How can I fix that? I have checked the Sites App, my administration domaine name and my presentation URLs are good. Is there any settings somewhere else?

Thank you

1

There are 1 answers

0
Brenden Kehren On

The webfarm name doesn't matter or have any impact on what URL is generated. The issue with your set up is you have a virtual application you're using and your URLs are not properly working because of it. You may want to share how you have IIS set up and what your site structure is within IIS. In most cases the main site displays the public facing website and a virtual application is set for the CMS.

So something like so:

example.com = MVC site
exapmle.com/cms = CMS site (vitrual application)

Using the above, the following settings in your site would be as such:

Presentation URL = https://example.com
Admin URL = example.com/cms

Cross posted on Kentico DevNet