How to change/access author localhost to anyother name

Avatar

Avatar

surendarm613658

Avatar

surendarm613658

surendarm613658

23-08-2020

Team,

 

I have installed AEM 6.5 in my personal windows laptop on a Rhel - Linux7 machine and i am able to access AEM console via http://localhost:4502. Any idea how i connect this machine with a different name,it can be any name instead of a localhost. I tried adding below entry in /etc/hosts file, but no luck... Any suggestions please how to overcome this problem.

 

/etc/hosts entry

127.0.0.1 aemsite.com

View Entire Topic

Avatar

Avatar

Jörg_Hoh

Employee

Total Posts

3.0K

Likes

910

Correct Answer

1.0K

Avatar

Jörg_Hoh

Employee

Total Posts

3.0K

Likes

910

Correct Answer

1.0K
Jörg_Hoh
Employee

23-08-2020

This is not an AEM specific question; you don't need to configure any hostname on AEM just for accessing it, but there might be occassions where you need to do that.

 

To your problem: According to https://www.redhat.com/sysadmin/set-hostname-linux you can use /etc/hosts to create an alias for localhost.