changing the domain of a site
hello, i have a website lidnote.com and i want to change it to biruny.com, i dont want to add a new site because then i'd have to do all the settings all over again (unless there's a simpler solution to do that, which would be even better) can i or how can i do this? thank you
9 Replies
I don't know of a better way to do this than to add a new site, then manually transfer all the settings over
i ended up doing this like 4 times i might create a script for it
You could potentially keep things under biruny.com and CNAME lidnote.com to biruny.com
Kind of weird but wouldn't require anything to get moved over
that is kind of weird, cool idea tho
pulumi
Pulumi - Infrastructure as Code in any Programming Language
Pulumi's open source infrastructure as code SDK enables you to create, deploy, and manage infrastructure on any cloud, using your favorite languages.
For later migrations, if they do occur
Idk, you can do that too.
Just seen more positive stuff with Pulumi, but whatever floats your boat.
i dont see how this is related arent these for microservices k8s etc
the sites are entirely different projects they just share the settings
With an IaaS tool like Terraform or Pulumi, you can write out your entire Cloudflare/AWS/GCP/Azure Config in the form of several files, that you can then auto-deploy. So if you have a new domain where you want the same settings, you just add the domain name, and run the deploy.
ahh
my concern w doing it programmatically is missing new configurations cf adds