Showing posts with label Host website in own computer. Show all posts
Showing posts with label Host website in own computer. Show all posts

Wednesday, September 3, 2025

Hosting a website in my own computer

Since late July this year I have been working on this own project of hosting my own website in my own desktop computer.

Since Dhiraagu's internet connection uses dynamic IP addresses that change over time, I have to use a DDNS (Dynamic DNS) client installed on my computer. So using a free service from www.dynu.com which automatically updates the IP address using their client software I started work on my computer.

My Windows 11 Pro has Microsoft IIS (Internet Information Service) webserver and using Notepad I wrote a simple HTML (Hyper Text Markup Language) index.html page which shows "Allah Akbar...Allah is great" in the browser.

I need a PTR (Pointer Record ) to be added for reverse DNS which means I need to have a static IP address binded to my Dhiraagu provided router...So I applied in Dhiraagu App in my phone for a static IP Add On which costs 81 MVR per month.

The static IP address was applied to my router in a few moments but for my own safety I have censored the IP address in the below screenshots.

I have to enable port forwarding in my Dhiraagu provided Huawei router and Windows Defender Firewall...I opened the ports 80 and 443 for normal and secure connections respectively.

Using a free tool called Win ACME and running that tool as administrator in Windows I installed a free SSL/TLS certificate to enable https connections. The certificate is from Let's Encrypt.

To check whether the ports 80 and 443 is open I used https://portchecker.co 

As I now have a static IP I don't now need Dynu DDNS client but in Cloudflare I had to add 6 NS records and point them to Dynu nameservers. 

The URL (Uniform Resource Locator) of my computer desktop site is https://home.naheez.mv and home is a subdomain which separates main domain www.naheez.mv which is a blog in Google Blogger. I have another subdomain shop.naheez.mv which is now in a webhosting company called x10hosting (before it was in a service called freehostia). The domain www.naheez.mv is registered in Dhiraagu as it's the .mv TLD (Top Level Domain) provider of Maldives.

For the moment due to my physical injury I have taken a break in developing this personal website.

Allah Akbar...Allah is great...
































Tuesday, December 25, 2018

For the first time hosted a website in my own desktop computer

Since midnight last night I have been trying to do this...As this year 2018 comes to an end, I have achieved a lot during this year...All thanks are to Allah Subuhaanahu Wathala...

I for the very first time in my life, has hosted a website in my own computer...I have to read and research the internet to do this as I am new to this but it was very simple and easy...

I signed up for a basic free account at www.noip.com a provider of Dynamic DNS service since the IP address of my computer is not a static IP and it will keep changing...I downloaded the client software of No-IP® and set it up by signing with my No-IP® username and password...

I have to enable port forwarding in my Huawei® internet fiber router for my desktop computer system so that Microsoft® Internet Information Service™ server can connect to the outside internet through port 80 which is not disabled by Dhiraagu...

I have now tested by going to the address http://naheez.ddns.net ( which is the host name of my website provided by No-IP® ) and it displays the sample webpage I put in the wwwroot folder of the inetpub directory which is the folder of IIS™...

As usual and always I praise Allah...

:) ... Allah Akbar...Allah is great...(Location: Male'...Date: Tuesday 25 December 2018...Time: 9:10 PM...Part of the day: Night...Weather:Nice...Temperature:Cool)