39 Tips to Gain Free Website Hosting

Filed in Business Idea by on April 20, 2022 0 Comments

Free Website Hosting: This businesshab teaches you how to set up a website host on your own computer.

You can do this on both Windows and Mac computers by using a server creator called MAMP.

Though you must first take a few steps to ensure that your computer is ready to begin hosting.

Read also: 28 Tips to Start Perkins Generator Repair Business in Nigeria

Free Website Hosting

1. Make sure your Internet service contract allows hosting.

Many Internet service providers (ISPs) expressly forbid personal hosting unless you have a business plan, which often costs significantly more than a standard use plan. This shouldn’t be an issue if your site only generates a few hits per month, but any kind of significant traffic will draw attention to your hosting.

  • If your ISP prohibits home-hosting, either upgrade your plan to one that allows hosting or switch to a different ISP before you continue.
  • Failing to heed your ISP’s policy for home-hosting can result in anything from getting your Internet turned off to having to pay fines.

2. Ensure that your equipment can handle hosting.

In order to host a website, you must have a computer on and connected to the Internet 24 hours per day, seven days per week. This is easier to accomplish with a secondary, older computer than it is with your primary computer.

  • Restarting your computer to update will occasionally be necessary. During these updates, your website will be inaccessible.

3. Update your computer.

Make sure that your computer is up-to-date with the latest operating system, security features, and drivers. Make sure you update your Windows computer or update your Mac computer before continuing.

Read on: 20 Tips to Start Food Processing Business in Nigeria

Free Website Hosting

4. Move your website’s source code onto your computer.

If your website’s source code isn’t already in a file on your computer, copy it from your web service’s settings into a text document on your computer and save it as a PHP file.

  • If the website’s source code is stored on your computer, make sure you know where to find it.
  • If you haven’t yet programmed your website, you’ll need to do so before continuing.

5. Download the MAMP program.

MAMP is a free website hosting application that works on both Windows and Mac machines. To download MAMP:

  • Go to https://www.mamp.info/en/.
  • Click DOWNLOAD below the “Free” version.
  • Click the orange Download button.
  • Wait for the file to finish downloading.

6. Double-click the MAMP setup icon.

It looks like a white elephant on a grey background.

7. Click Yes when prompted.
This will open the MAMP installer.

Free Website Hosting

8. Complete the setup process. To do so:

  • Select a language and click OK
  • Click Next
  • Uncheck the “MAMP PRO” box and click Next
  • Check “I accept” and click Next
  • Click Next three times, then click Install

9. Go to your website’s source code document.

 While MAMP is installing, find the document on your computer that you pasted the website’s source code into earlier. To do so:

  • Open Start
  • Open File Explorer
  • Click the document’s folder in File Explorer’s left-hand sidebar.
  • Select the document by clicking it.

10. Copy the source code document. 

Press Ctrl and C at the same time to copy the selected source code document.

11. Double-click the MAMP icon. 

It resembles a white elephant on a grey background.

  • Make sure you aren’t clicking the setup icon here.

Read on: How to Start Cinema Business in Nigeria(9tips)

Free Website Hosting

12. Click Cancel when prompted.

You’ll see a warning about port 80 appear; clicking Cancel on the warning window dismisses it.

13. Click Preferences

This gear-shaped icon is on the left side of the MAMP window. Doing so opens the Preferences window.

14. Click the Ports tab.
It’s at the top of the Preferences window.

Free Website Hosting

15. Click Set MAMP ports to default.

This button is in the middle of the page. Doing so will reset the ports that MAMP uses, which will resolve the port 80 error.
16. Click the Web Server tab.
It’s at the top of the Preferences window.
17. Click Open.
This button is near the bottom of the window.
18. Paste the source code document into the folder.
 Press Ctrl and V at the same time. The source code document will appear in the MAMP root folder.

See also: 10 Best Ways to Become An Optometrist in Nigeria

Free Website Hosting

19. Click OK on the MAMP window.

 This will save your settings.
20. Close and re-open MAMP.
Click Quit in the bottom-left corner of the MAMP window, then double-click the MAMP icon to re-open MAMP.
21. Click Start Servers.

 It’s on the right side of the MAMP window. Doing so will start the MAMP server with your website’s source code and port preferences. Your website should now be live; people will be able to access it by entering your public IP address into a search engine.

  • Unless you pay for a static IP service, your local IP address—and, by extension, your website’s address—will change from time to time.
  • You cannot use your local IP address to view the website from your own network, since entering it will just take you to your router’s page.

22. Double-click the MAMP setup file. It resembles a brown box.

  • If you receive a warning message that says the file can’t be opened, verify the download before continuing.

Free Website Hosting

23. Complete the MAMP installation process. To do so:

  • Click Continue on each of the first three pages.
  • Click Agree
  • Click Install for all users of this computer, then click Continue
  • Click Install
  • Enter your Mac’s username and password, then click Install Software

24. Wait for MAMP to finish installing. 

This process will likely take around five minutes.

25. Open Finder. Click the blue, face-shaped app in your Mac’s Dock.

26. Go to your website’s source code document. 

Click the folder in which the source code document that you copied or created earlier is located.

  • You may have to click through several folders to get to the document, depending on where you saved it.

See also: 12 Best Construction Machinery for Business in Nigeria

Free Website Hosting

27. Copy the document. 

Click the document to select it, then click Edit and click Copy.

28. Click Applications.

This folder is on the far-left side of the Finder window.

29.Double-click the MAMP folder. 

It’s in the middle of the Applications folder.

Read also: 10 Best Textile Machineries for Business in Nigeria

Free Website Hosting

30. Double-click the htdocs folder.

You’ll find this folder in the middle of the MAMP folder. This folder is where your website’s resources, including the source code document, go.

31. Paste the source code document into this folder. Click Edit, then click Paste Item.

32. Open MAMP. Click the MAMP icon, which resembles a white elephant on a grey background. You may have to type MAMP into Spotlight to find MAMP.

33. Click Preferences…. This gear-shaped icon is on the far-left side of the MAMP window.

  • If you receive an error window, first click OK to exit the window.

34. Click the Ports tab. It’s at the top of the Preferences window.

35. Click the Set to default button. 

You’ll find this in the middle of the Ports tab. Doing so resets the ports that MAMP uses, which will prevent your website from being blocked by your router’s default firewall.

See also: 25 Best Ways to be Improved @ Sports in Nigeria

Free Website Hosting

36. Click OK. It’s at the bottom of the page. This saves your settings.

37. Close and re-open MAMP. Click Quit, then click the MAMP icon again to re-open MAMP.

38. Click Start Servers.

It’s on the right side of the MAMP window. Doing so will start the MAMP server with your website’s source code and port preferences. Your website should now be live; people will be able to access it by entering your public IP address into a search engine.

  • Unless you pay for a dynamic IP service, your local IP address—and, by extension, your website’s address—will change from time to time.
  • You cannot use your local IP address to view the website from your own network, since entering it will just take you to your router’s page.

39. More tips

  • While MAMP gives you the option of resetting its ports automatically, you can also manually open port 80 in your router’s firewall.

  • Web hosting is incredibly cheap (some services come in at under $4 per month), and web-hosting services offer protection from attacks that personal hosting may not be able to fend off. As such, web hosting is a far better route than home hosting if you’re able to spare an extra few bucks per month.

Read on: 20 creative business in Nigeria you can start right now

Free Website Hosting

Conclusion

  • For self-hosted sites, your site will go down if you lose your internet connection, your computer loses power, or your system crashes.

  • Note that if you host your website on your PC, your site is likely to respond more slowly than traditionally hosted sites.

 


Copyright Warning!

We work really hard and put a lot of effort and resources into our content, providing our readers with plagiarism-free articles, original and high-quality texts. Contents on this website may not be copied, republished, reproduced, redistributed either in whole or in part without due permission or acknowledgement. Proper acknowledgement include, but not limited to (a) Proper referencing in the case of usage in research, magazine, brochure, or academic purposes, (b)"FAIR USE" in the case of re-publication on online media. About possible consequences you can read here: What are the consequences of copyright infringement? BusinessHAB.com is a property of GotoSchool Limited and we have all legal actions at our disposal to take within and outside the internet in effort to protect our intellectual properties. All contents are protected by the Digital Millennium Copyright Act 1996 (DMCA).

Tags:

Leave a Reply

Your email address will not be published. Required fields are marked *