Hosting your website from your PC will give you little bit experience of how hosting services work.
You can try it for small website or personal work.
To run your PC as server there are lot of software but top most popular is WAMP server and XAMP server,Here i’m using XAMP server.
So,Let’s start our hosting:
Here I’m using XAMP server , you can download latest version form here
https://www.apachefriends.org/download.html
and install it, after then add the security exception for Apache in Windows Firewall when prompted.
Now after installation:
Now double-click on XAMP icon place in taskbar, the XAMP console will show up.
Click start on Apache and then click on explorer button.
Go to your browser and type localhost. Just only to make sure that you properly install and configured XAMP. (If localhost opens XAMP homepage in your browser it means you are ready to rock with your PC).
Now on your Explorer window, copy your website content and pages in htdocs directory, Example: I made a website with a folder “mywebsite” and copied it in htdocs directory.
Now go back to your browser and type localhost/mywebsite (replace mywebsite with your website page) in URL bar, you will see your website show up.
Congrats your website is up and running.
But this is only works on LAN
If you want to host it on WAN then you need a static IP
Use your IP in URL bar instead of localhost then it will works on WAN means you can access your website anywhere in the world.
Related posts
Subscribe for newsletter
* You will receive the latest news and updates on your favorite topics!
How to Downgrade Flutter Version – FIXED
Learn how to downgrade your flutter version to a lower version, in this article we will reduce the flutter version…
Generate Resources for Android Playstore & iOS Apple Store Flutter
In this post, we’ll generate resources for the flutter app we created in the previous post. we’ll be learning how…
Build a Quiz App using Flutter for Android and iOS
In this post we’ll be working with Flutter, a fast-rising Developer tool built by Google to develop an Android App,…
Setup Flutter on Kali, Ubuntu, and any other Linux Distro
In this post, we’ll be learning how to set up your Flutter on Linux for development. Flutter is a fast-rising…
FIXED xcodebuild: Failed to load code for plug-in – Repeatedly Being Asked to Install Command Line Tools
Hey there, updating your MacOS Montery Xcode can be a pin in the a$$ especially when you got Xcode working…
How to Downgrade Flutter Version – FIXED
Learn how to downgrade your flutter version to a lower version, in this article we will reduce the flutter version…
Build a Quiz App using Flutter for Android and iOS
In this post we’ll be working with Flutter, a fast-rising Developer tool built by Google to develop an Android App,…
Setup Flutter on Kali, Ubuntu, and any other Linux Distro
In this post, we’ll be learning how to set up your Flutter on Linux for development. Flutter is a fast-rising…