Apache troubleshooting KodeKloud



Task: Change Port to 8084 and Access all App Servers from jump host. Document root should be /var/www/html

Solution: I have showed here for only app server 2. You have to do this in all app servers. Your httpd conf file may have some typo mistakes or additional semicolon. You have to check status of httpd and remove error from httpd conf file.

At first login to server 

Next, edit httpd conf file

I have edited port 

Listen 8084

I have edited the Servername section for app 2 server. Removed # before ServerName


I did same in App server 1 with ServerName

But in app server 3, i have to remove ; from Server root address and added html in Document root /var/www/html also with PORT number and ServerName

Then restart httpd and check status

If you get errors then check the errors from status and fix it in httpd conf file.

Finally check the all servers from jump host







Share on Google Plus

About Ashadullah Shawon

I am Ashadullah Shawon. I am a Software Engineer. I studied Computer Science and Engineering (CSE) at RUET. I Like To Share Knowledge. Learn More: Click Here
    Blogger Comment
    Facebook Comment


Post a Comment