How to Host a Website From Home For Free Using WordPress and XAMPP Web S...

free-home-website-hosting-

Video Tutorial shows you, how to create a website using WordPress and XAMPP server and host website from home computer with free domain name.




How to host a website from home for free using WordPress & XAMPP web server.


These are the main steps, to host a website from your home
computer.
First of all make sure you have cable modem, DSL or another
high-speed connection.
1) Installation and Configuration XAMPP web server
Download and install XAMPP web server.
Download XAMPP:
During installation select the following components:
Server: Apache, MySQL
Program Languages: PHP, phpmyadmin
You can install all of them, it’s up to you.

Secure XAMPP Server:

Enter your password for XAMPP directory protection
Note: make sure, your password is strong, recommend using a
mixture of upper and lower case letters, numbers, and symbols.

XAMPP Configuration
Download and install Notepad ++
Open “php.ini” file with notepad ++
Path to “php.ini” (C:\xampp\php)
Increase upload size in your php.ini: search for “upload_max_filesize”
and adjust it by your needs
Increase PHP memory limit: search for “memory_limit"
and adjust it by your needs.

XAMPP-Allow access from a network, Fix Access Forbidden
Error 403:
Open “httpd-xampp.conf” file with notepad ++
Path to “httpd-xampp.conf” (C:\xampp\apache\conf\extra)
Search for “new xampp security concept” and change this
line: “Require local” to #Require local

2) Get a DNS hostname for your home Internet connection.
Connect your IP address to host name (get free domain name)
To get free domain name visit:
Create Account, Login, Click DDNS tab, Choose SIGN UP
In Host section, type your host name (any) and choose domain
name.
Now your IP address is connected to domain name.

Understanding of internet IP address and HTTP port (80)
There are two important things, your Internet IP address,
and port 80.
Internet IP address is assigned to you by your ISP (Internet
Service Provider), its may be Dynamic or Static, difference:


Dynamic IP address can change at any time from your ISP.

Static IP address stays the same. (Never change)
If you really want to check, if your ISP is blocking ports,
you can scan your ports using this website:

The most of ISP, assigns a Dynamic IP address, and blocks
port 80.
But if you have a static IP address and your ISP doesn’t
block port 80, you can skip this step.
So let’s say you have Dynamic IP address and your ISP blocks
port 80 (70/80% users)

You need to download and install Dynu IP Update Client.
The primary goal of dynamic DNS is to keep the domain name
pointed to the most current IP address at all times.

Get a static local IP address for your computer within your
home network.
How to change IP Address on windows 7, windows 8, Linux –
Playlist:

Redirect your static local IP address to your domain name
Open “hosts” file with notepad ++
Path to “hosts” (C:\Windows\System32\drivers\etc)
Add new line in hosts file:
Your local IP Address      Your
Domain Name
Example:
192.168.1.74       YourDoaminName.com

Change the Apache Port in XAMPP, by default it’s running on
port 80, so change it to any
Open “httpd.conf” file with notepad ++
Path to “httpd.conf” (C:\xampp\apache\conf)
Search for this lines “Listen 80” and “ServerName localhost:
80” Change the port number (80) to a different number (for this tutorial, I changed
it to 7070), Save the file and Restart the Apache Server.

3) Port Forward Your Router
If you need an open port on your router then you need to create a port forward.
Open ports are used to allow a connection in to your home network from the Internet.
First of all you need to access your router.
Open CMD (command prompt) and type “ipconfig”. Search for Default
Gateway IP address, copy and paste it into your web browser. You’ll need to log
in with your username and password combination. If you don’t know default user
name and password, you can find it on this website:
If Default username and password doesn’t work, you may need
to reset router password to default settings:

Configure your router to correctly forward connections on your
alternative port number.

4) Test your web server from outside your network.
Ask your friend to visit, example:  yourdomain.com:7070 (your port n.)

Download WordPress:
Create MySQL Database for your WordPress website
Unzip WordPress, and move all files in root directory folder
Path to root directory
C:\xampp\htdocs
Open the wp-config-sample.php file with notepad ++
Type your database name, user and password and Save file as
wp-config-php
Open your browser and go to your website
Choose language, enter your details and click “Install
WordPress.”

Comments