DNS configuration
Each translation of your site lives on its own subdomain, such as fr.example.com. A CNAME record points that subdomain at SwiftLingo, which then serves the translated pages.
DNS Configuration lists the exact hostnames for your site, with copy buttons. You need one record per target language, at your domain provider (for example Cloudflare, GoDaddy, Namecheap or TransIP).
Add the records
Section titled “Add the records”-
Open the DNS settings for your domain at your domain provider.
-
For each language, add a record:
- Type:
CNAME - Name (sometimes Host or Alias): the language code, such as
fr. Some providers want the full hostname instead, such asfr.example.com. - Target (sometimes Value or Points to):
proxy.swiftlingo.io.(some providers don’t accept the trailing dot; leave it off there) - TTL: the default is fine.
- Type:
-
Save the records.
For example.com translated into French and German, you add:
| Type | Name | Target |
|---|---|---|
| CNAME | fr |
proxy.swiftlingo.io. |
| CNAME | de |
proxy.swiftlingo.io. |
Check that it works
Section titled “Check that it works”DNS changes can take up to 24 hours to reach everyone, but often work within minutes. To check a record from your terminal:
dig +short fr.example.com CNAMEWhen it works, this prints proxy.swiftlingo.io. You can also use an online DNS lookup tool, or simply open https://fr.example.com.
Troubleshooting
Section titled “Troubleshooting”- Nothing returned: the record doesn’t exist yet or hasn’t propagated. Check the name; with some providers,
fr.example.comas a name becomesfr.example.com.example.com. - A different value returned: another record for the same name (often an
Arecord or a wildcard) is in the way. Remove it. - Still not working after 24 hours? Contact support and tell us your domain and the languages you’re setting up.