Useful Commands For AWS Apache Server

Working in the Amazon Web Services (AWS) environment is challenging, especially for beginners. You must do everything yourself, including server setup, installing PHPMyAdmin, domain mapping, etc. However, throughout the entire process, you can learn many new commands. In the following blog, you will get a few useful commands that you can use for setting up the Apache web server, reloading the server, and setting up the config file.

01. Restart Apache Server.

sudo service apache2 restart

02. Reload Apache Server.

sudo service apache2 reload

03. Remove A Folder.

sudo rm -r YourFolderName

04. Access apace.conf file.

sudo nano apache2.conf

05. Install Send Mail Server ( Fix SMTP issue)

sudo apt-get install sendmail

Was this information helpful? What other tips would you like to read about in the future? Share your comments, feedback, and experiences with us by commenting below!

Total 0 Votes
0

Tell us how can we improve this post?

+ = Verify Human or Spambot ?

Leave a Comment

Back To Top