image

Host Your Own Website for Free

May 24, 2018

How can the users host their own website for Free

Creating a website is not only the first step in getting online. You need to host the site. Web hosting means when a person or company rents space on a server.

These are so many computers which store your all content while also assigning your site a unique Internet Protocol address.

The Two Types of Free Hosting

Host a Website for Free

  • Identify your IP address
  • Open your existing wireless network
  • Find your Internet Protocol
  • Input your IP address
  • Install database management software

Host a Website for Free by Using a Third Party

  • WordPress
  • Weebly
  • Google Sites

Preparing to Host a Website:

The users may follow the steps stated below in order to prepare to host a website. For this the user needs to follow the steps stated below:

  • The user needs to make sure that the Internet Service contract allows hosting. This is because many Internet Service Providers(ISPs) do not allow personal hosting or do not permit personal hosting which charges more than the normal costs specified. The user needs to especially get a business plan in order to get personal hosting permitted.
  • If the site generates only a few hits per month, then any significant traffic can draw the attention towards the hosting of the site.
  • In case ISP does not allow home-hosting, then the user either needs to get a plan that allows the users to host a website or allows the user to switch to a different ISP that allows personal hosting.
  • If the users fail to follow the ISP’s policy, then the internet may get turned off. Moreover, the users will have to pay fine for the same.
  • The user needs to make sure that their equipment can handle personal hosting of the website and grants the permission of personal hosting of the website.
  • For hosting a website, the users should have a computer that is turned on. Moreover, it is required that the computer is turned on and it is having an internet connection for 24 hours per day and seven days per week.
  • The users may update occasionally by restarting their computer which is also very important and necessary to do.
  • While doing these updates, the users may observe that their site is inaccessible.
  • The user needs to update the computer. Also, the user needs to make sure that the computer is up to date and has the latest and the most updated operating system embedded in it with all the security features and drivers.
  • Before proceeding further, the user needs to make sure that the user has updated the Windows Computer.
  • The user needs to move the website’s source code onto the computer.
  • In case the source code of the website is not present in a file on the computer then the users may copy the same from the settings of the web service to a text document and then save this document as a PHP file.
  • If the website's source code is stored on your computer, make sure you know where to find it.
  • In case the user has not yet programmed the website, then the user needs to do the same before proceeding further.
  • Then the users may download the MAMP program.
  • For downloading MAMP, the user should know what is a MAMP. MAMP is a free website hosting application which works on Windows and Mac machines.

Setting up Hosting on Windows:

The users may set up Hosting on Windows by following the steps stated below:

  • The user needs to double-click the MAMP setup icon. This icon resembles a white elephant on a grey background.
  • Then the user needs to click on the yes option when the user is asked. Doing this will open the MAMP installer.
  • The users may complete the setup process.
  • Complete the setup process.
  • Then the users may go to the website's source code document.
  • Thereafter the user needs to copy the source code document. For this, the user needs to press Ctrl and C at the same time in order to copy the selected source code.
  • Then the users may double-click the MAMP icon.
  • The user needs to make sure that they are not clicking the setup icon here.
  • The user needs to click on the Ok button when prompted or when asked. The users will see the issue of Port 80 here.
  • Then the users may click on the Preferences option. This icon is a gear-shaped icon which is present on the left side of the MAMP window.
  • When the user does this, the Preferences window opens up.
  • Then the users may click on the Ports tab which is present at the top of the preference window.
  • The users may then click SET MAMP ports to default. This button is present in the middle of the page. This step will resolve the issue of port 80 error.
  • Then the users may click on the Web Server tab. This option is presented at the top of the Preferences window.
  • Thereafter the users may click on the open option. This button is present near the bottom of the window.
  • The user is required to paste the source code document in the folder. The source code document is present in the MAMP root folder.
  • Thereafter the user needs to click on the OK option present on the MAMP window. Doing this will save the settings.
  • The user needs to close or reopen MAMP.
  • Then the user may click on the Quit button which is present on the bottom-left corner of the MAMP window.
  • Finally, the user needs to click on the option of Start Servers.
  • This option is present on the right side of the MAMP window.
  • By doing this step, the users will be able to start the MAMP server with the website's source code and port preferences.
  • The users may observe that now the website of the user should now be live. This means now the people will be able to access the website by entering the public IP address in the search engine.

Setting up Hosting on Mac:

The users may set up hosting on Mac by following the steps stated below:

  • The user needs to double-click the MAMP setup file.
  • The MAMP set up file resembles a brown box.
  • The user needs to verify the download option if the user receives a warning message which says that the file can't be opened.
  • Then the user needs to Complete the MAMP installation process by clicking on the install option.
  • Thereafter the user needs to wait for MAMP to finish installing.
  • The users should wait to finish the process of installing.
  • Then the users may open the finder option. For this, the user needs to click the blue, face-shaped app present in Mac’s dock.
  • Thereafter the user may go to the document of the website’s source code.
  • After doing this the user needs to click the folder in which the source code document that the user copied or created earlier is located. The users may have to go through a number of folders to get the document.
  • Then the users may copy the document.
  • Thereafter the user needs to click the document in order to select it and then needs to click on the Edit option. After this, the user needs to click on the Copy option.
  • The users may click on applications.
  • Then the users may double-click the MAMP folder.
  • After doing this, the user needs to double-click the htdocs folder.
  • This folder is present in the middle of the MAMP folder.
  • Then the users may paste the source code document into this folder.
  • Thereafter the user needs to click on the Edit option and then click Paste Item.
  • The users may click on the preferences option.
  • This gear-shaped icon is on the far-left side of the MAMP window.
  • In case the user receives an error window, then the users may first click OK to exit the window.
  • Then the users may click the Ports tab. This is present at the top of the Preferences window.
  • After doing this, the user needs to click the Set to default button.
  • Then the users may click on the ok option which is present at the bottom of the page.
  • At last, the user needs to save the settings thus made.
  • Finally, the user needs to close and then re-open MAMP.
  • Thereafter the user needs to click on the Quit option.
  • The user may click the MAMP icon again in order to re-open MAMP.
  • At last the user may click on the option of Start Servers.

Leave a comment