Remove <code> tags from leilukin.com

This commit is contained in:
Helen Chong 2024-08-07 15:01:26 +08:00
parent 5f76c46bac
commit 29238ca8d1
6 changed files with 16 additions and 16 deletions

View File

@ -7,7 +7,7 @@ categories: ["site updates"]
toc: true toc: true
--- ---
Major news: Leilukin's Hub has a custom domain name: `leilukin.com`! In addition, Leilukin's Hub is now hosted on Netlify, with the `leilukin.com` domain name pointing to the Netlify host. Major news: Leilukin's Hub has a custom domain name: leilukin.com! In addition, Leilukin's Hub is now hosted on Netlify, with the leilukin.com domain name pointing to the Netlify host.
## Moving Beyond Neocities ## Moving Beyond Neocities
@ -31,9 +31,9 @@ The process of deploying Leilukin's Hub from its GitHub repository went smoothly
## Custom Domain for Leilukin's Hub ## Custom Domain for Leilukin's Hub
After comparing various domain name registrars, I chose to buy my domain name from Porkbun for its competitive price for domain names. The `leilukin.com` domain name was not taken, so I seized the opportunity to place an order for it, and later succeeded in purchasing and registering it as my own. After comparing various domain name registrars, I chose to buy my domain name from Porkbun for its competitive price for domain names. The leilukin.com domain name was not taken, so I seized the opportunity to place an order for it, and later succeeded in purchasing and registering it as my own.
Upon owning `leilukin.com`, I followed Netlify's instructions to set up DNS records to point `leilukin.com` to my website on Netlify. I lacked experience in such things, so it took a bit longer for me to set it up properly, but I eventually did it. Visiting `leilukin.com` will lead you to Leilukin's Hub on Netlify. Upon owning leilukin.com, I followed Netlify's instructions to set up DNS records to point leilukin.com to my website on Netlify. I lacked experience in such things, so it took a bit longer for me to set it up properly, but I eventually did it. Visiting leilukin.com will lead you to Leilukin's Hub on Netlify.
Since Porkbun provides an email forwarding feature for its domain names for free, I also decided to make use of it and set up a new email address with the `leilkin.com` domain name, `contact@leilukin.com`, and forward emails sent to this address to my Outlook mailbox. This means now you can email me at contact@leilukin.com. Since Porkbun provides an email forwarding feature for its domain names for free, I also decided to make use of it and set up a new email address with the `leilkin.com` domain name, `contact@leilukin.com`, and forward emails sent to this address to my Outlook mailbox. This means now you can email me at contact@leilukin.com.
@ -45,7 +45,7 @@ I want a way to redirect my Neocities site address instead of placing a web page
After researching ways to redirect web pages, I used JavaScript, specifically the [`location.replace()` method](https://www.w3schools.com/jsref/met_loc_replace.asp), for two reasons: it removes `leilukin.neocities.org` from page history, and using JavaScript allows me to write custom code to ensure only the domain gets changed, while the rest of the URL's path remains intact. For example, if you visit `leilukin.neocities.org/blog`, you will get redirected to `leilukin.com/blog`. After researching ways to redirect web pages, I used JavaScript, specifically the [`location.replace()` method](https://www.w3schools.com/jsref/met_loc_replace.asp), for two reasons: it removes `leilukin.neocities.org` from page history, and using JavaScript allows me to write custom code to ensure only the domain gets changed, while the rest of the URL's path remains intact. For example, if you visit `leilukin.neocities.org/blog`, you will get redirected to `leilukin.com/blog`.
With the redirect function set up, `leilukin.com` was officially ready! With the redirect function set up, leilukin.com was officially ready!
## What Happens Now with My Neocities Account ## What Happens Now with My Neocities Account
@ -57,4 +57,4 @@ I am still using my Neocities account and logging in almost daily. A couple of f
(**Update, 4 June 2024:** Originally, even when Leilukin's Hub began to switch host to Netlify, I still deployed Leilukin's Hub to Neocities by using the [deploy-to-neocities GitHub action](https://github.com/bcomnes/deploy-to-neocities), in order to notify my Neocities followers of updates to Leilukin's Hub, but I have changed my mind and decided to stop pushing Leilukin's Hub's updates to Neocities, so I can focus on my website's hosting on Netlify) (**Update, 4 June 2024:** Originally, even when Leilukin's Hub began to switch host to Netlify, I still deployed Leilukin's Hub to Neocities by using the [deploy-to-neocities GitHub action](https://github.com/bcomnes/deploy-to-neocities), in order to notify my Neocities followers of updates to Leilukin's Hub, but I have changed my mind and decided to stop pushing Leilukin's Hub's updates to Neocities, so I can focus on my website's hosting on Netlify)
Welcome to `leilukin.com`! 🥳 Not going to lie, I am excited that this major news for my website is officially announced just a day before Pride Month starts! 🏳️‍🌈 Welcome to leilukin.com! 🥳 Not going to lie, I am excited that this major news for my website is officially announced just a day before Pride Month starts! 🏳️‍🌈

View File

@ -9,12 +9,12 @@ Leilukin's Hub now has a [tumbleblog](https://jaypeeonline.net/internet/tumblebl
I have been considering the idea of creating a microblog or tumbleblog for my website. The main site of [Leilukin's Hub](https://leilukin.com/) already has a [blog](https://leilukin.com/blog/), but I also want another blog for shorter or more casual posts to document my thoughts and various stuff I find interesting or inspirational, especially ones that I am not sure how or where to put in the main site of Leilukin's Hub yet. I have been considering the idea of creating a microblog or tumbleblog for my website. The main site of [Leilukin's Hub](https://leilukin.com/) already has a [blog](https://leilukin.com/blog/), but I also want another blog for shorter or more casual posts to document my thoughts and various stuff I find interesting or inspirational, especially ones that I am not sure how or where to put in the main site of Leilukin's Hub yet.
Tumblr has served me adequately for this purpose, which is one of the reasons it remains the social media platform I am the most active on since 2011 (yes, this means I have been on Tumblr for 13 years at this point). However, one of the reasons I eventually decided to create my own website was to not relying on social media to share my creations and interests. Therefore, an ideal Tumblr-style microblog for Leilukin's Hub would be self-hosted and sharing the same domain name of `leilukin.com`. After struggling to figure out how to implement a tumbleblog for Leilukin's Hub, I finally discovered the ideal blogging engine for my needs: [Chyrp Lite](https://chyrplite.net/). Tumblr has served me adequately for this purpose, which is one of the reasons it remains the social media platform I am the most active on since 2011 (yes, this means I have been on Tumblr for 13 years at this point). However, one of the reasons I eventually decided to create my own website was to not relying on social media to share my creations and interests. Therefore, an ideal Tumblr-style microblog for Leilukin's Hub would be self-hosted and sharing the same domain name of leilukin.com. After struggling to figure out how to implement a tumbleblog for Leilukin's Hub, I finally discovered the ideal blogging engine for my needs: [Chyrp Lite](https://chyrplite.net/).
Chyrp Lite has everything I am looking for to build a self-hosted Tumblr-style blog. The website explicitly states that you can have a tumbleblog with the blogging engine, with feathers that allow you to make not only text posts, but also image posts, audio posts, video posts, quote posts, link posts and even posts with files attached to allow visitors to download. Chyrp Lite is written in PHP, so it cannot be hosted on platforms that support static sites only, such as Neocities, GitHub Pages, Netlify (which is where `leilukin.com` is currently hosted on), etc. This is where [InfinityFree](https://www.infinityfree.com/) came in. Chyrp Lite has everything I am looking for to build a self-hosted Tumblr-style blog. The website explicitly states that you can have a tumbleblog with the blogging engine, with feathers that allow you to make not only text posts, but also image posts, audio posts, video posts, quote posts, link posts and even posts with files attached to allow visitors to download. Chyrp Lite is written in PHP, so it cannot be hosted on platforms that support static sites only, such as Neocities, GitHub Pages, Netlify (which is where leilukin.com is currently hosted on), etc. This is where [InfinityFree](https://www.infinityfree.com/) came in.
InfinityFree is among the few hosting platforms that provides PHP and MySQL support for free, so I had created an InfinityFree account to start learning about PHP, even before discovering Chyrp Lite. In addition, InfinityFree supports custom domain without additional charges, so I have also added the `leilukin.com` domain name to my InfinityFree account, in case I need to host something with PHP and want to use a subdomain of `leilukin.com` for it. Now, I got to make use of what I learned to build this tumbleblog for Leilukin's Hub. InfinityFree is among the few hosting platforms that provides PHP and MySQL support for free, so I had created an InfinityFree account to start learning about PHP, even before discovering Chyrp Lite. In addition, InfinityFree supports custom domain without additional charges, so I have also added the leilukin.com domain name to my InfinityFree account, in case I need to host something with PHP and want to use a subdomain of leilukin.com for it. Now, I got to make use of what I learned to build this tumbleblog for Leilukin's Hub.
I started with adding a `tumbleblog.leilukin.com` custom subdomain to InfinityFree, configuring the DNS records on Porkbun (which manages the `leilukin.com` domain name), and requesting a free SSL certificate from InfinityFree to add HTTPS support to this blog. After making sure the `tumbleblog.leilukin.com` subdomain is ready, I followed the [Quick Start Guide](https://chyrplite.net/wiki/Quick-Start-Guide.html) to set up Chyrp Lite, by uploading the blogging engine's files to InfinityFree with FTP, creating a MySQL database for this tumbleblog, and installing Chyrp Lite into my InfinityFree server. At last, I successfully installed Chyrp Lite on InfinityFree. I started with adding a `tumbleblog.leilukin.com` custom subdomain to InfinityFree, configuring the DNS records on Porkbun (which manages the leilukin.com domain name), and requesting a free SSL certificate from InfinityFree to add HTTPS support to this blog. After making sure the `tumbleblog.leilukin.com` subdomain is ready, I followed the [Quick Start Guide](https://chyrplite.net/wiki/Quick-Start-Guide.html) to set up Chyrp Lite, by uploading the blogging engine's files to InfinityFree with FTP, creating a MySQL database for this tumbleblog, and installing Chyrp Lite into my InfinityFree server. At last, I successfully installed Chyrp Lite on InfinityFree.
Leilukin's Hub Tumbleblog is now officially launched! 🥳 Leilukin's Hub Tumbleblog is now officially launched! 🥳

View File

@ -14,7 +14,7 @@ Before talking about why I chose Hostinger as my new website host, I want to tal
### Owning Both Static and Dynamic Sites ### Owning Both Static and Dynamic Sites
The first major reason is that `leilukin.com` has evolved into more than a static site; since I have also begun to dip my toe into PHP to build dynamic sites, including a tumbleblog, fanlistings and a fanlisting. The first major reason is that leilukin.com has evolved into more than a static site; since I have also begun to dip my toe into PHP to build dynamic sites, including a tumbleblog, fanlistings and a fanlisting.
[Netlify](https://www.netlify.com/), which previously hosted the main site of Leilukin's Hub, does not support PHP hosting, so I hosted my tumbleblog and fanlisting collective on [InfinityFree](https://www.infinityfree.com/), one of the very few platforms to provide PHP and MySQL website hosting for free. InfinityFree has been a decent platform for PHP and MySQL beginners to experiment with the languages, however as you might have expected, its free hosting plan comes with limitations. [Netlify](https://www.netlify.com/), which previously hosted the main site of Leilukin's Hub, does not support PHP hosting, so I hosted my tumbleblog and fanlisting collective on [InfinityFree](https://www.infinityfree.com/), one of the very few platforms to provide PHP and MySQL website hosting for free. InfinityFree has been a decent platform for PHP and MySQL beginners to experiment with the languages, however as you might have expected, its free hosting plan comes with limitations.
@ -26,7 +26,7 @@ In my case, tht thing that frustrated me the most about InfinityFree's security
### Invested in Webmastery Enough to Spend Money ### Invested in Webmastery Enough to Spend Money
Lastly, I am invested in building my own websites enough to spend money on them, as already evident in my purchase and registration of a custom domain name `leilukin.com` for this website. Lastly, I am invested in building my own websites enough to spend money on them, as already evident in my purchase and registration of a custom domain name leilukin.com for this website.
That said, I do need to consider carefully about how much money I am going to spend on my hobbies, which factors in why I eventually chose Hostinger to host my websites. That said, I do need to consider carefully about how much money I am going to spend on my hobbies, which factors in why I eventually chose Hostinger to host my websites.
@ -64,7 +64,7 @@ Last but not least, another motivator for me to purchase a premium website hosti
## Domain Names Remaining at Porkbun ## Domain Names Remaining at Porkbun
While Hostinger provides domain registration and transfer service, I chose to have the `leilukin.com` domain name stay with [Porkbun](https://porkbun.com/), because I already spent money on the domain name, so Hostinger's hosting plan providing domain name registration for free for the first year does not benefit me. While Hostinger provides domain registration and transfer service, I chose to have the leilukin.com domain name stay with [Porkbun](https://porkbun.com/), because I already spent money on the domain name, so Hostinger's hosting plan providing domain name registration for free for the first year does not benefit me.
In addition, Porkbun's renewal rate for domain names is cheaper than Hostinger. For example, Porkbun renews the `.com` domain extension at 10.37 USD per year, while Hostinger renews at 15.99 USD per year. Even the Malaysian Ringgit pricing of Hostinger's domain renewal rate for `.com`, 55.99 MYR per year, is still more expansive than Porkbun's approximately 48.3 MYR per year rate. In addition, Porkbun's renewal rate for domain names is cheaper than Hostinger. For example, Porkbun renews the `.com` domain extension at 10.37 USD per year, while Hostinger renews at 15.99 USD per year. Even the Malaysian Ringgit pricing of Hostinger's domain renewal rate for `.com`, 55.99 MYR per year, is still more expansive than Porkbun's approximately 48.3 MYR per year rate.

View File

@ -2,7 +2,7 @@
date: 2024-05-31 date: 2024-05-31
--- ---
* Leilukin's Hub now has a custom domain name: `leilukin.com`. * Leilukin's Hub now has a custom domain name: leilukin.com.
* Leilukin's Hub is now hosted on Netlify. * Leilukin's Hub is now hosted on Netlify.
* New blog post: [Custom Domain Name and Hosting Change for Leilukin's Hub](/blog/posts/2024-05-31-domain-name-hosting-change-leilukins-hub). * New blog post: [Custom Domain Name and Hosting Change for Leilukin's Hub](/blog/posts/2024-05-31-domain-name-hosting-change-leilukins-hub).
* Add [my status.cafe](https://status.cafe/users/leilukin) widget to the home page. * Add [my status.cafe](https://status.cafe/users/leilukin) widget to the home page.

View File

@ -18,9 +18,9 @@ This website is mostly safe for work, but since I am an adult, I made my website
Feel free to drop a message and say hi on [my guestbook](/guestbook)! Feel free to drop a message and say hi on [my guestbook](/guestbook)!
`{{ sitemeta.siteDomain }}` is hosted on [Hostinger](https://www.hostinger.my/). {{ sitemeta.siteDomain }} is hosted on [Hostinger](https://www.hostinger.my/).
Initially, {{ sitemeta.siteName }} was hosted on [Neocities](https://neocities.org/). Now visiting `leilukin.neocities.org` will redirect you to `leilukin.com`. That said, I still post about updates to Leilukin's Hub on my Neocities profile, so if you also have a Neocities account, you can still follow me through [my Neocities profile](https://neocities.org/site/leilukin). Initially, {{ sitemeta.siteName }} was hosted on [Neocities](https://neocities.org/). Now visiting leilukin.neocities.org will redirect you to leilukin.com. That said, I still post about updates to Leilukin's Hub on my Neocities profile, so if you also have a Neocities account, you can still follow me through [my Neocities profile](https://neocities.org/site/leilukin).
More information about this site can be found on the following pages: More information about this site can be found on the following pages:
- [Accessibility statement](/accessibility) for accessibility information - [Accessibility statement](/accessibility) for accessibility information

View File

@ -18,7 +18,7 @@ Information about how this website is built.
## Host and Domain ## Host and Domain
* Deployed to [Hostinger](https://www.hostinger.my/) from this site's GitHub repository with a GitHub action * Deployed to [Hostinger](https://www.hostinger.my/) from this site's GitHub repository with a GitHub action
* The domain name, `{{ sitemeta.siteDomain }}`, was registered on 30 May 2024, was purchased from, registered on, and is managed by [Porkbun](https://porkbun.com/) * The domain name, {{ sitemeta.siteDomain }}, was registered on 30 May 2024, was purchased from, registered on, and is managed by [Porkbun](https://porkbun.com/)
Previously, this website was hosted on [Neocities](https://neocities.org/) until 31 May 2024, and [Netlify](https://www.netlify.com/) until 25 July 2024. Previously, this website was hosted on [Neocities](https://neocities.org/) until 31 May 2024, and [Netlify](https://www.netlify.com/) until 25 July 2024.