importing #1642
-
Question about importing: https://shlink.io/documentation/advanced/import-short-urls/ If I want to setup a new instance but using the same custom domain, will this process still work? In other words, the importer asks for the domain and api key. So I want to import urls from "something.link" to a new instance that also uses "something.link". Or should I have an instance under a different domain, like "something.info" and the import will just add another domain under that instance with the urls from "something.link"? Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 7 replies
-
I was able to do this successfully and understand better what it's doing. It converts the domain of the urls to whatever domain the new instance is on. I'll need to see if there's a way to change the domain without installing a new instance. |
Beta Was this translation helpful? Give feedback.
-
Is it correct to assume that if I point another domain to this same instance, that the URLs will assume this domain as well? Interpreting this: https://shlink.io/documentation/advanced/multiple-domains/ |
Beta Was this translation helpful? Give feedback.
-
And the "manage domains" will just show the new domain? |
Beta Was this translation helpful? Give feedback.
-
This is the most common use case when importing from another Shlink instance. Let's say you want to change the database engine, migrate to another server, etc., but once migrated, you want it to be exposed transparently and all existing URLs to continue working on the same domain. The way to do this is to setup your new Shlink instance, configure it with the same domain, but not exposed via DNS yet. Once installed, you run the import from there, using your existing domain, which still pointers to your old Shlink instance. Once import is finished, then you update your DNS (or change your server configuration or whatever) so that you switch to the new instance. And that's it. |
Beta Was this translation helpful? Give feedback.
-
My CSV import worked so I'm good for now. The only thing I'd like to change is the default domain for new URLs. I don't see a way to do this in the "manage domains" section, although I do see one set as the default. ** disregard - I see how to change this. |
Beta Was this translation helpful? Give feedback.
My CSV import worked so I'm good for now. The only thing I'd like to change is the default domain for new URLs. I don't see a way to do this in the "manage domains" section, although I do see one set as the default.
** disregard - I see how to change this.