title: Setting up an apache web server on mac os Sierra (macbook pro 13 2014)
body: <p><a href="http://digitalshore.io/local-web-development-environment-apache-macos-sierra-10-12" rel="nofollow noreferrer">http://digitalshore.io/local-web-development-environment-apache-macos-sierra-10-12</a> This is the guide that i used to set up an apache server.
  I did everything that was necessary but i wasn't able to run this command
  $ sudo cp httpd-userdir.conf httpd-userdir.conf.bak
  Answer from terminal was &quot;Access denied&quot;
  So, I decided not to make back-up files. When i completed the proccess, i entered this in the browser
  <code>http://localhost/~username</code>, where username was my actual username.
  And got this response</p>
  <blockquote>
  <p>Forbidden</p>
  <p>You don't have permission to access /~username on this server.</p>
  </blockquote>
  <hr />
  <p>I ran <code>apachectl configtest</code>. And got this:</p>
  <blockquote>
  <p>Warning: DocumentRoot [/usr/docs/dummy-host.example.com] does not exist
  AH00112: Warning: DocumentRoot [/usr/docs/dummy-host2.example.com] does not exist
  AH00557: httpd: apr_sockaddr_info_get() failed for MacBook-Pro-Tim.local
  AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1. Set the 'ServerName' directive globally to suppress this message Syntax OK</p>
  </blockquote>
  <p>What should I do?</p>