How to properly change domain name in SlickStack
- This topic is empty.
-
AuthorPosts
-
January 3, 2023 at 3:06 pm #3573JasonGuest
I setup SlickStack on a subdomain for testing and now I want to use in my production domain what should I do to safely change it?
will all my data be lost
January 3, 2023 at 3:08 pm #3574LouisGuestjust change in ss-config and run the installation again, no data lost
January 3, 2023 at 3:55 pm #3576DonnaGuestJanuary 4, 2023 at 8:28 am #3589GeorgeGuestFirst you need to
sudo nano /var/www/ss-config
to edit your config file.Then find
SITE_TLD
andSITE_DOMAIN
and update their values to whatever your production domain name is… these 2 values could be the same, if you’re not using www.After you exit the nano editor and save config file, then run the installer again by doing either
ss install
orsudo bash /var/www/ss-install
Wait until the installer is finished and your new domain should load fine now.
January 4, 2023 at 8:29 am #3590JosephGuestThere is no data loss from doing this… your database is preserved, and your files are preserved, only the domain name is updated in Nginx config and WordPress config really.
February 13, 2023 at 5:13 am #4156JuliaGuestFYI make sure you pointed your new domain to the SS server already before doing this, if you want Certbot to work and domain to load properly after that!
March 12, 2023 at 11:47 am #4548SaraGuestHi,
what if I’m changing ss server from subdomain like test.example.com to main production site like example.com without “www” prefix?
August 4, 2023 at 5:01 pm #7110JeremyGuest1. Does SlickStack support multiple domains: abc.com (main domain) and def.com as subsites on a WP multisite or does it only support subdomain under the main domain (eg. def.abc.com)?
2. If if it does support it, wat if you have a multisite. How would the domain name change be done for one of the domains (subsites)?
August 4, 2023 at 7:26 pm #7116StephanieGuestwhat if I’m changing ss server from subdomain like test.example.com to main production site like example.com without “www” prefix?
See the previous response from @George:
August 4, 2023 at 7:27 pm #7117RalphGuest@Jeremy please start a new topic as this topic is about production single sites, not about WP Multisite setups.
-
AuthorPosts
- You must be logged in to reply to this topic.