.. _diy-deploy: ####################### DIY Deployment ####################### Create a Server ======================= This lesson will make a web application server which is publicly accessible. Servers are made publicly accessible through a public IP address, and optionally, a DNS entry pointing to the IP address. .. tip:: The usual way to browse the web is to type website domain names for addresses, relying on DNS to translate the domain name to the server's public IP address. but you can also visit a site by going straight to the IP, skipping DNS. .. note: A demo webserver has been setup already for the purposes of this lesson. For information on how to create your own server, see :ref:`free-webserver`. We can visit our server at:: http://54.68.232.191/ or :: http://ec2-54-68-232-191.us-west-2.compute.amazonaws.com/ or :: http::/ec2demo.aaltsys.info/ The default Ubuntu Apache installation's welcome page should display. Apache is the webserver software which directs web requests to our application. .. image:: _images/apache-welcome-page.png As this page explains, it is located in the :file:`/var/www/html` folder on the server. This folder is known as the *DocRoot*. The file itself is called :file:`index.html`. When Apache gets a request for a folder path, it looks first for an :file:`index.html` file in that folder, and serves that file if it exists. In order to see our own files, we should place them within the DocRoot. So, the process of deployment will require us to move our code to within the DocRoot on the server. Create a Code Project ======================= *** change to AAltsys account *** In the web browser, login to your Github account. Fork the project from https://github.com/aaltsys/html-demo. After forking the project, Github will take you to the GitHub page for your fork. In GitHub, edit the :file:`index.html` file, enclosing your name in the ``