- Published on
A New Home: blog.primax.cloud
- Authors

- Name
- Hoang Nguyen

What?
If you have visited my blog before, you may have noticed the URL has changed.
My blog has officially moved from hoangnph-it.github.io/blog to blog.primax.cloud. 🎉
It's a small change on the surface, but it means a lot to me personally. This post is a short celebration of that milestone and a quick look at what changed behind the scenes.
Why?
There are a few reasons I decided to make the move.
It's more professional: A custom domain is cleaner and easier to remember.
blog.primax.cloudis something I'm proud to share, compared to a GitHub subdomain with a/blogsuffix.It's mine: Owning the domain means I'm not tied to any platform. If I ever move off GitHub Pages tomorrow, the URL stays the same — only the server behind it changes.
Google AdSense: I recently applied for Google AdSense to monetize the blog. Having a real custom domain gives the site more credibility during the review process.
Part of a bigger vision: The
primax.clouddomain is something I've been building around. The blog is the first piece of it, but it won't be the last.
How?
The migration involved a few technical steps across the codebase and DNS settings.
On the code side, the main changes were:
- Removed
basePath: "/blog"fromnext.config.js— the new domain serves from root, so no subdirectory prefix is needed anymore. - Updated
siteUrlinsiteMetadata.js - Fixed hardcoded
/blog/static/favicons/...paths in the layout files. - Fixed the
Imagecomponent which was manually prepending/blogto every image source. - Added a
CNAMEfile to thepublic/folder with the new value.
On the DNS side, I added a simple CNAME record at my DNS provider.
What's next?
Moving to a custom domain is just the beginning. Here is what I have in mind:
- Keep writing consistently — at least one post per month.
- Continue growing topics around Cloud, AI, and Engineering practices.
- Explore moving from GitHub Pages to a self-hosted server for more control.
- Hopefully get approved by Google AdSense soon. 🤞
Conclusion
It's a small step technically, but it feels like a big step personally. Having your own corner of the internet — with your own domain — is something every engineer should experience at least once.
If you are reading this, thank you for being part of this journey. Whether you stumbled upon this post through a search engine or followed me from the old URL, I hope the content here continues to be useful and worth your time.
See you at blog.primax.cloud — the new home. 🏠
P/S: Shoutout to GitHub Pages for the free ride all this time. You were a great starting point. 🙏✨