How to own a website for freeOwning a website for free
Unfortunately, there are still some serious barriers to your own website being hosted, among them IP address dynamics, bandwith limitations and power cost. We' ll look at how you can run your own website on Microsoft Windows and Linux, and some of the disadvantages associated with it. The AMP ( Apache, Mysql, PHP ) web stacks will be installed and used for both platform.
First we try to host a website with your PC and the Windows OS. In order to make this really simple, we use a WAMP installer (of which there are several) named WampServer. WampServer is shipped with the latest versions of Apache, MySQL and PHP. The WampServer is one of several available platforms for building Apache, MySQL and PHP apps under Windows.
Simply obey the prompts on the monitor and when you are done, start WampServer. Out of this folder you can generate subfolders (called "projects" in WampServer) and insert any HTML or PHP file into these subfolders. Your local host's WampServer home page should look something like this. When you click on the WampSever icon in the menus or open your web interface with the URL http://localhost, you should see the root WampServer window.
In order to test our WampServer, we can put a sample filename named "info. php" into our www-folder. Navigate directly to this folder by selecting "www folder" from the WampServer menue. There, start creating a new filename with the content below and store it. Any HTML and php files can be created according to your needs.
By clicking on the menue item PhpMyAdmin, you can begin to configure your MySQL database (which may be required for a CMS like WordPress). Normally, the administrator user name is root, and you can skip the passcode area. There you can build new MySQL database and change your current database.
However, most programs, such as WordPress, create a new data base for you to use. The Apache config files are configured by defaults to reject inbound HTTP connection, except in the case of someone who comes from the local host. Reboot all WampServer servers by selecting "Reboot all services" from the drop-down list.
In order to use a name like com for your WAMP install, we need to set up some first. Let's say our example: com domain has an A-entry in your DNA with the IP number 100.100.100.100.100.100.100.100. First we need to append the following line to the C: \Windows\system32\drivers\etc\hosts file:
Now we need to reedit handlpd. config (accessible from the WampServer menu) to include a guest server.
Then, in Notepad, make a notepad with the following contents and store it in this Apache folder. ReportRoot "c:\wamp\wwww" ErrorLog "logs/example.com. log" Click on "Restart All Services" in the WampServer context menue to enable these changes. Now, your website should also be available through youromainname. Let us now explain how to setup Apache, MySQL and PHP on a Linux system.
You will be prompted to type (and re-type) a MySQL-Root User Passphrase during the install procedure. Keep your MySQL-Root Password ready during the LAMP-Install. It is not necessary from a technical point of view (as it should have been done during installation), but just to be on the safe side, we will reboot the Apache webservers.
Every timeout that you make changes to Apache's overall config, you must run the following commands unless you configure the config with your own locally created Apache HTTP Access database configs. In order to verify that your PHP web site is working and to see which PHP module is currently available, you can place a test PHP filename in the web site's main folder (/var/wwww/html/):
Since most CMSs ( e.g. WordPress ) use mySQL, we will have a look at this part as well. rt 15 13:24:09 host1 systemd[ 1]: Launch of mySQL Community Servers. Now we see that it runs. Otherwise, you can enter "sudo servic esqql restart " to reboot the database.
We can use the MySQL console from here to administer our data bases. To do this, we must use the administrator login information that we previously entered during the installation of MySQL. With MySQL we can do everything we want from here, e.g. creating a new database: Test; USE test; Often the CMS creates the data base for you but sometimes you have to do something with the data base manual (e.g. make a back-up or optimise tables).
PhotPMyAdmin is a user-friendly data base manager that most web professionals will be recommending. Lastly, reconfigure the phone config files /etc/phpmyadmin/config.inc. using the following procedure. In order to use your own web site for your own web site (e.g. com), you need to set Apache to support web request for your web site. First of all, make sure that the DNA of your domainname has an A-entry ( which refers to a certain IP-address) for your domainname, e.g. www.example.com.
If you are a host, your ISP has on-line resources to help you configure these entries properly. Here a weblink for http://www.example. com is routed to the IP site with the IP number 100.100.100.100.100.100.100.100.100. Now, we have to tell Apache to take web queries for our name and from which folder it should provide contents when we receive those queries.
At first we setup a folder for our example. com domain, then we build an example index. html filename, and lastly we setup some filing system permissions: In order to see this page, the last stage is to setup a virtual host for Apache for our domains. Modify the image to look like this (the option comment is not displayed here):
Configure and load Apache again for the changes to take effect: Modify your locale /etc/hosts files by including a line with your Internet Protocol (IP) addresses and your name. 100 " to correspond to the Internet Protocol Identifier (IP) of your domain: Creating your own website and hosting it is not only a very instructive adventure, it is also a lot of pleasure to run it.
Many people have gone from studying to hosted a website local, to studying more about coding, web designing and trading on-line. Unfortunately, there are still quite significant disadvantages to self-hosting your website: As your Internet Service Provider transfer rate is likely to be much lower than your downloading rate, the delivery of your website visitor traffic will also be very low.
This way you can see why we strongly recommend the investment in a high value webmaster for your website or use. Have a look at the kinds of available web sites to see what web sites are available out there and within your budgets. Rather than trying to hosted a website local, you can go through a web site service company and administer the server yourself.
Benefits for committed hosted services are as much memory and computing as you want, full insulation so a neighbouring site doesn't sink to your own, and the best hours and value you can buy - and we're not referring to a load of cash. Whilst the most expensive of the different kinds of web sites are devoted web sites, they are a nightmare in comparison to the cost of web site hosted itself.
The following are some of the most highly recommended committed schedules: Instead, you can use VPS to perform your hosts. It gives you total agility whether you decide on a fully featured solution, manage services, or configure and maintain servers yourself. Although we've taken the necessary stages to set up a good website hosting system for both Windows and Linux, I'd like to point out to everyone that self-hosting is not feasible for any serious undertaking.
Funny fact: There are guys working on things like IPFS and several other dispersed concepts that could allow humans to build remote web based capacity building systems - after all. We are always surprised by the web, so who knows what the next step for webcasting will be! Bringing first-hand expertise in web host review, website perfection, website optimization, and website owner walkthrough to success, she's a member of the team that's responsible for the entire process.