How to setup custom sub domain in AC classic

nandhakumarp326

08-01-2020

Hi There

 

Please help us to setup custom sub domain in AC classic for landing page.

Instance Details:

1. Using same instance for two business unit

2. So, having 2 different sub domain's based on country

3. Need to setup both sub domain's in same instance

 

Ex: After setting up this, if we create a web app in a folder1, it should have subdomain1 in the URL and if we create a web app in a folder2, it should have subdomain2 in the URL.

 

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

wodnicki

MVP

08-01-2020

Hi,

 

Alter your app servers' Apache/IIS configs to rewrite the url's, e.g.

RewriteRule ^/webApp/(.*)_(.*) https://$1.domain.tld/$2  [P]

 

Name your web apps country1_xxx, country2_xxx.

 

Thanks,

-Jon