Hi @kumamanish You can get the Protocal, Servername and Serverport from
CQ Link Externalizer configration. Create local OSGi configration as
shown below in the screen shot and also you need use the externalizer
and use below code String publishUrl =
externalizer.publishLink(resolver, payloadPath +
CommonConstants.SUFFIX_HTML); If the domain is different from the
current server, You can put the other domain in a different configration
seperatly.