Install Web Server In Minutes

Install Web Server In Minutes

* Buy Domain From GoDaddy.com

* Point the IP address correctly on Godaddy

* Install Ubuntu

* sudo apt-get install mysql-server
* sudo apt-get install apache2
* sudo apt-get install libapache2-mod-auth-mysql
* sudo apt-get install php5
* sudo apt-get install phpmyadmin
* sudo apt-get install php5-adodb

* sudo mkdir /var/searlesample

* sudo vi /var/searlesample/index.html
** Insert “Hello World”

* sudo vi /etc/apache2/sites-available/default
** Insert

<VirtualHost *>
  DocumentRoot /var/searlesample
  ServerName searlesample.com
</VirtualHost>
<VirtualHost *>
  DocumentRoot /var/searlesample
  ServerName www.searlesample.com
</VirtualHost>

* sudo /etc/init.d/apache2 restart ( Restarts Apache)

* Go To your domain == done

Leave a Reply

Your email address will not be published. Required fields are marked *


*