Skip to content

DIY Hosting Using No-IP & LAMP

Article Summary

  • Create a No-IP account and hostname, then install Tasksel followed by the LAMP server bundle.
  • Set a MySQL root password during installation and test that the installation succeeded.
  • Reach Apache at 127.0.0.1 or http://localhost on port 80; the default page directory is /var/www and needs root access to change.
  • Making /var/www your own is suitable only for non-production web servers because it is not the most secure approach.
  • Finish by confirming port forwarding is correctly configured on your router.

Below is a complete step by step process for configuring your server.

First, we will need the following three things:

  • NoIP.com Account
  • Computer/Server
  • Server Software

1. The first step is to create a NoIP.com account and host name. If you have not done so please click here.

2. Next, install the server software. You will want to install Taskel first and then the server bundle after.

lamp-1

You should see a screen similar to this after running the “Install Lamp-server.”

lamp-2

3. You will then want to set a MySQL root password.

lamp-3

lamp-4

4. Test to see that it has been successfully installed:

lamp-5

5. You can access Apache by typing 127.0.0.1 or http://localhost (by default it will be listening on port 80) in your browser address bar. By default the directory for apache server pages is /var/www . It needs root access in order to put files in. A way to do it is by just starting the file browser as root in a terminal:

lamp-6

or

If you want to make /var/www your own:
Note: Use only for non-production web servers – this is not the most secure way to do things.

lamp-7

6. To check the status of your PHP installation:

lamp-8

and insert the following line

lamp-9

7. The last step is to make sure that your port forwarding settings in your router are correctly configured. More port forwarding information can be found here.