First of all make sure you have cable modem, DSL or another high-speed connection
- Installation and Configuration XAMPP web server
- Get a DNS host-name for your home Internet connection
- Port Forward Your Router
- Test your web server from outside your network
- WordPress installation
Installation And Configuration
Download and install XAMPP web server. It takes some time, so I will skip installation process. Test your server Secure your XAMPP Server Enter password for MYSQL super user You can also protect XAMP directory. Make sure, that your password is strong recommended to use a mixture, of upper, and lower case letters, numbers, and symbols. Configure the XAMPP Server Download and install Notepad ++ Set up note-pad plus as editor Increase upload size in your “php.ini” file 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. Allow users, to access your server from a network open, xamp configuration file Search for: Require local and comment it Restart your server.
Get A DNS Hostname For Home Internet Connection
Create Account, on dynu.com. Log in your account, Click on DDNS tab and Choose SIGN UP In Host section, type your host name, then choose domain name, and click add button. Now your IP address is connected to domain name. 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) it’s may be Dynamic or Static, difference: Dynamic IP address can change at any time from your ISP Static IP address stays the same. 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.
So let’s say you have Dynamic IP address and your ISP blocks port 80. 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. Ok, test your domain name now let’s assign a static local IP address, for your computer within your home network. Redirect your static local IP address to your domain name Type your local IP address, press Tab key on keyboard and type your domain name. Change the Apache Port in XAMPP, by default it’s running on port 80, so change it to any Search for: “Listen 80” and Change the port number (80) to a different number. Search for: Server Name and do the same Save the file and Restart the Apache Server.
Port Forward Your Router
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 if you don’t know default user name and password you can find it on this website: portforward.com if Default username and password doesn’t work. You may need to reset router password, to default settings. Also you can find instruction, how to correctly forward port for your router I opened port 7070 on my router. Open ports are used, to allow a connection in to your home network from the Internet OK let’s test it.
Test Your Web Server
To test my web server from outside my network, I use my neighbor’s internet. Wi-Fi connection Works fine.
Download WordPress Create MySQL Database for your WordPress website. Unzip WordPress, and move all files in root directory folder. Open the “wp-config-sample.php” file with notepad Type your database name, user and password save file as “wp-config.php”. Open your browser and go to your website Choose language. Enter your details and click “Install WordPress” .Test your WordPress website from outside your network. OK, WordPress website hosted successfully.