How do I provision an Apache webserver properly?

Discussion in 'Server Operation' started by Jaggxr, Sep 23, 2021.

  1. Jaggxr

    Jaggxr New Member

    This is for a class discussion on using HowtoForge forums. Any info on how to provision an apache webserver will be very helpful. Using outdated labs compared to new technology. The lab was uploading HTML to the Apache2 server via WinSPC. What is the best way to set up and Apache server and update the HTML file on the webpage?
    I appreciate all those willing to help.
     
  2. Jesse Norell

    Jesse Norell Well-Known Member Staff Member Howtoforge Staff

    I generally use something over an ssh connection (not winscp exactly, but same protocol) to upload files. Sometimes scp, occasionally rsync, and most often a shell pipeline involving tar. Rsync would probably be the best choice most of the time, I just don't remember all the options to use, so I generally fall back to what I can use from memory (tar + ssh).
     
  3. ahrasis

    ahrasis Well-Known Member HowtoForge Supporter

    As @Jesse Norell said.

    Nowadays you can simply edit any html files in a web server (nginx or apache2 or others) using any pc or web ftp clients and see the result almost instantly.

    I guess you already know that you can develop plain html pages inside any pc with any browser without a need for any web server.

    With github you can even develop and publish web pages without hosting them in a web server as well.

    So basically, web server operation is when you need to do something much more than developing and publishing normal plain html pages like when they involve lots of other sites programming languages and database like php, java, sql, ruby, python, etc.
     

Share This Page