Hi!
I'm just getting started with Sourcehut and I've been trying out the
static website hosting using Sourcehut Pages. It seems awesome so far!
If I understood correctly, each site is tied to a user account in
Sourcehut? Is it possible to have a separate site with a different
domain for each project or maybe even for each repository?
I'm about to move some software projects to Sourcehut and these projects
need static websites in addition to a VCS. It would be nice to have
everything in one place and host these sites in Sourcehut.
Thanks in advance!
Best regards,
jj
On Fri Nov 1, 2024 at 11:48 AM CET, Jack Jackdaw wrote:
> I'm just getting started with Sourcehut and I've been trying out the> static website hosting using Sourcehut Pages. It seems awesome so far!>> If I understood correctly, each site is tied to a user account in> Sourcehut? Is it possible to have a separate site with a different> domain for each project or maybe even for each repository? >> I'm about to move some software projects to Sourcehut and these projects> need static websites in addition to a VCS. It would be nice to have> everything in one place and host these sites in Sourcehut.
You just get the one domain, yourname.srht.site, included, but you can
have an arbitrary number of bring-your-own-domain sourcehut pages. Docs:
https://srht.site/custom-domains
On Fri, 01 Nov 2024 11:49:49 +0100 "Drew DeVault" <sir@cmpwn.com> wrote:
> You just get the one domain, yourname.srht.site, included, but you can> have an arbitrary number of bring-your-own-domain sourcehut pages.
Nice, I didn't realise that it's possible to push a site to any domain!
I was just looking at the quick start and I thought that publishing
using
$ hut pages publish -d username.srht.site site.tar.gz
always required you to use your username in the domain. That works
perfectly with custom domains too. Thanks for the info!