Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

How to setup custom sub domain in AC classic

nandhakumarp326
Level 3
Level 3

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

1 Accepted Solution
wodnicki
Correct answer by
Community Advisor
Community Advisor

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

View solution in original post

2 Replies
wodnicki
Correct answer by
Community Advisor
Community Advisor

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

View solution in original post