Skip Navigation

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

Sun Mon Tue Wed Thu Fri Sat
13:00 – 17:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 -
- 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: Asia/Jerusalem (GMT+03:00)

This topic contains 17 replies, has 3 voices.

Last updated by Eran Helzer 1 year, 10 months ago.

Assisted by: Eran Helzer.

Author Posts
July 14, 2023 at 2:12 pm #14040349

maurizioF-5

Greetings,

I bought the plugin for my e-commerce and I would like to use a domain for each language.
The main site is hidden link and I would like the languages to reside in their own domain (.ES .UK .DE etc.)
how to change dns?

Thank you in advance

July 14, 2023 at 4:46 pm #14040959

Mateus Getulio
Supporter

Languages: English (English ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Hi there,

Thanks for your contact.

Before your ticket is assigned to one of my colleagues, please allow me to walk you through some initial debugging steps. This will help speed up the support process.

Please make sure to fully read and follow our doc related: https://wpml.org/documentation/getting-started-guide/language-setup/language-url-options/how-to-use-wpml-with-different-domains-per-language/. There you'll find all the necessary info in order to make your domains work properly.

Kind regards,
Mateus.

July 16, 2023 at 9:32 am #14043941

maurizioF-5

Thanks Mateus, unfortunately I still can't formulate correctly the records to edit in the domain, direct help would be appreciated, thanks

July 16, 2023 at 11:13 am #14044119

Eran Helzer
Supporter

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+03:00)

Hi,

If you want to have different domains per language, this is a general overview of what you need to do:
- Buy or register a new domain. Before you can start configuring DNS settings and WPML settings, you need to make sure that the domains are yours. This is still not related to WPML, for this you need the services of a hosting provider. If you want, we have a list of hosting providers whose plans work well with WPML here:
https://wpml.org/hosting-partner/
Can you confirm this step is finished?

- Then, you will need to setup the DNS settings. As we explain in our documentation Mateus directed you to, this should be done by the company that sold you the domains.
We have ready-made texts you can send to them so they do that for you:
- When using separate domains: I want to add a parked domain (alias) to my existing domain. My existing domain is “example.com”. I want to park the “example.de” domain.
- When using sub-domains: I want to add the “de.example.com” subdomain to my “example.com” subdomain. It should point to the same location as the main domain.

Can you please explain to me how your domain are setup, what services your are using, the domains, so that I can understand better in what stage you are and how to better advise you?

July 18, 2023 at 7:41 am #14055415

maurizioF-5

Greetings!
And thank you very much for replying,
the system is composed as follows:

we have a woo-commerce site (growledlamp.IT) in Italian hosted on a Cloud VPS /Direct Admin/Litespeed

I purchased domains with the same name but different TLD
Growledlamp.BE (for Belgian French language)
Growledlamp.NL (for the Dutch version)
Growledlamp.DE (German)
Growledlamp.FR (French)
Growledlamp.ES (Spanish)
Growledlamp.co.uk (English)
The domains are managed by the provider OVH.com
Are the details enough?
Thank you

July 18, 2023 at 8:53 am #14056531

Eran Helzer
Supporter

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+03:00)

Yes, this is good thank you.

To configure the DNS settings, you need to reach out to the company that sold you the domain, OVH.com, and ask for that.
You need to ask them the following:
"I want to add a parked domain (alias) to my existing domain. My existing domain is “growledlamp.IT”. I want to park the “Growledlamp.BE”, "Growledlamp.NL"... domains."
They will ask for the IP address of your website, i.e where it is hosted.

Only after doing this do you go to WPML -> Languages and change to "A different domain per language".

Please update me if you manage okay with the DNS settings.

July 29, 2023 at 7:34 pm #14121845

maurizioF-5

first of all thank you for all the support you are offering me, I waited a while before replying as I made the DNS changes on the growledlamp.ES domain, unfortunately the result is not what I expected, you see the courtesy page of "Directadmin" but there is no redirect.
At this point I don't know what to do anymore, I hope for your help.
Thank you

July 30, 2023 at 10:42 am #14122395

Eran Helzer
Supporter

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+03:00)

Okay.

I am not sure in what stage you are, however it seems like the DNS settings were not setup correctly.

As we explain in our documentation, in order to test that the domains and DNS are setup correctly, try visiting both domains (with WPML deactivated) and you should see the same exact page.
https://wpml.org/documentation/getting-started-guide/language-setup/language-url-options/how-to-use-wpml-with-different-domains-per-language/#testing-if-the-domains-are-set-properly

This is still not really related to WPML, however I will try to help you.
Please explain to me what you asked from your provider, and what he replied.

July 30, 2023 at 5:42 pm #14123187

maurizioF-5

My hoster ask me that:

" can you ask for confirmation that the domain must be in redirect mode and not as an alias?

Also can you ask for confirmation that you don't need the authoritative NS? "

July 31, 2023 at 5:55 am #14123955

Eran Helzer
Supporter

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+03:00)

No the domain must be as an alias. This is what we suggest our clients as their hosting providers:
"I want to add a parked domain (alias) to my existing domain. My existing domain is “example.com”. I want to park the “example.de” domain."

About his second question, I believe not as it is not mentioned in our documentation, but I will update you if yes.

Let's first try finishing the other DNS settings and then see if something is missing.

August 2, 2023 at 2:07 pm #14143245

maurizioF-5

Hoster reply me "pointer inserterd", i have open page hidden link and show me "OpenLiteSpeed is functioning normally"

From WPML panel when add growledlamp.es validation show error.

August 3, 2023 at 8:18 am #14146735

Eran Helzer
Supporter

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+03:00)

Well, the DNS settings are not set up correctly.

If the DNS settings are correct, all the domains should show the exact same site.
For example, if the DNS settings were correct, and WPML was deactivated, hidden link and hidden link would show the same site.

Please take a look at our documentation, if you are not sure about something:
https://wpml.org/documentation/getting-started-guide/language-setup/language-url-options/how-to-use-wpml-with-different-domains-per-language/#testing-if-the-domains-are-set-properly

Please explain to your host that what you need, in the end, is to be able to access the site through both domains. Unfortunately, this isn't something we can do for you, otherwise I would help more. Our recommended messages, the one I shared in my previous reply, should be enough for the host company to understand. Try to explain why you are asking this, perhaps that will help them understand.

Perhaps the authoritative NS is related, I will ask and update you.

August 3, 2023 at 9:00 am #14147253

maurizioF-5

Hi Eran, I thank you for your patience but I'm afraid that there is no way out of this situation ....
The hoster replied me that ......

Dear Maurice,

as previously indicated by the colleague, the growledlamp.es domain has already been configured as an alias of the growledlamp.it domain and the configuration of the server-side DNS records is correct.

I'm sorry but unfortunately any other problem related to WPML must necessarily verify you or whoever deals with the technical management of the site not knowing exactly how it has been configured.

The only thing we can do is terminate the old services (hosting and mail) associated with the growledlamp.es domain in such a way as to avoid any kind of conflict.

We remain at your disposal

August 3, 2023 at 11:04 am #14148821

Eran Helzer
Supporter

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+03:00)

I see.

I have asked the 2nd tier and they replied.

The issue is that the two domain are not pointing to the same folder. You need to explain that to your provider.
If they want an example, tell them that the license.txt file needs to be accessible through all the domains.
hidden link - Works fine
hidden link - 404 error

Their response of "pointer inserted" is the exact opposite of what we need. To setup a multidomain WPML, you do not need a pointer, you need an alias.

You need to ask them for both domains to point to the same folder, so that both domains show the same site, and both domains return the license.txt.

August 4, 2023 at 9:06 am #14153819

maurizioF-5

Hoster answer:
I'm sorry but unfortunately the only "official" way that the DirectAdmin control panel makes available for creating aliases is the Domain Pointers function.

Eventually we could try to add the growledlamp.es domain and modify the path relative to the root present in the openlitespeed.conf file so as to point it towards the root of the growledlamp.it domain.
__________
My question: i have all rest of domain in OVH.com (de,be,nl,com,uk) from your experience, can you confirm that it is possible to do this more easily from the domain manager (OVH.com)?
If it were complicated here too, I think I'll have to give up on the translation project 🙁

in any case thanks again for the support

The topic ‘[Closed] Setting DNS for multidomain mode’ is closed to new replies.