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

ServerName 172.16.238.11:8084 

I did same in App server 1 with ServerName 172.16.238.10:8084

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

 

 

 

 

 
 
 

 
 
 
 
 
 
 
 
 
 
 

Download Coding Interview Book and Get More Tutorials for Coding and Interview Solution: Click Here

Download System Design Interview Book and Get More Tutorials and Interview Solution: Click Here

Do you need more Guidance or Help? Then Book 1:1 Quick Call with Me: Click Here

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

1 comments:

  1. Why A Partner Certified in Hosting Application Is The Best Way To Get to the Cloud - It seems that nowadays everybody is switching over their business to the cloud. And why shouldn't they? Being able to connect to the cloud has many potential competitive advantages for your business, especially for your SAP applications. https://onohosting.com/

    ReplyDelete