내 커뮤니티 업적 표시줄을 확대합니다.

Submissions are now open for the 2026 Adobe Experience Maker Awards.
해결됨

Hide port number 4502 in aem atuhor URL

Avatar

Level 1

Hello All,

 

Hope you are doing well !

 

I am running my AEM on Azure VM on Linux Server, Since the URL is looking like

http://abcd.aem.dev.net:4502/aem/start.html

now i want to hide this port number from the URL, I am not getting how to achieve this, could anyone please help here ?

주제

토픽은 커뮤니티 콘텐츠를 분류하여 관련성 있는 콘텐츠를 찾는 데 도움이 됩니다.

1 채택된 해결책 개

Avatar

정확한 답변 작성자:
Level 10

You can try to configure the dispatcher as a reverse proxy

원본 게시물의 솔루션 보기

3 답변 개

Avatar

정확한 답변 작성자:
Level 10

You can try to configure the dispatcher as a reverse proxy

Avatar

Community Advisor

Hi @monish_gavali_23 

If you are using apache then you can use something like below

 

 

<VirtualHost *:80>
    ServerName abcd.aem.dev.net

    ProxyPreserveHost On
    ProxyPass / http://localhost:4502/
    ProxyPassReverse / http://localhost:4502/

    ErrorLog ${APACHE_LOG_DIR}/error.log
    CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>

 

Arun Patidar

AEM LinksLinkedIn

Avatar

Level 5

Hi @monish_gavali_23 

 

Please try using Apache Reverse Proxy for this.

 

<VirtualHost *:80>

    ServerName abcd.aem.dev.net

    ProxyPass / http://localhost:4502/

    ProxyPassReverse / http://localhost:4502/

</VirtualHost>

 

 

or If you’re using Azure Application Gateway or Azure Load Balancer, you can:

• Set up HTTP/HTTPS listener on port 80/443.

• Forward traffic to AEM’s port 4502.