Presentation URL for domain alias

Jan Mudrák asked on October 13, 2020 15:06

Hello, is it possible to define Presentation URL parameter for domain alias? For one small project we want to share database across developers and don't want to use continuous integration. Perfect solution would be set one presentation URL for localhost (for developers) and another presentation URL for stage website. But as far as I know, only one Presentation URL can be set and field doesn't support macros.

Correct Answer

Dmitry Bastron answered on October 13, 2020 15:40

Hi Jan,

Yes, it's correct, at the moment there is only one Presentation URL and you cannot have aliases for it. However, on your local dev environments you can use the same URL as on stage server - simply add this domain into your hosts file and configure IIS binding for this domain. In this case stage and all your devs will be using the same domain name.

The only difficulty would be if devs would need to actually open stage website they will need to comment out this setting in hosts file.

The other option to consider is using automatic Staging content sync but this will require some work to do, but it could be reused on other similar projects later.

0 votesVote for this answer Unmark Correct answer

Recent Answers


Jan Mudrák answered on October 13, 2020 16:03

Thank you, yes, that seems to be the most easy way.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.