DirectAdmin issue with setup WPML in subdomain

feerdispzoo

Verified User
Joined
Jan 17, 2022
Messages
189
Hello everyone,
maybe can anyone from this forum setup WPML in subdomain and know this issue. I've spent now 2 days, and still not resolve this.


main.com - default English website
pl.main.com - additional Polish language.

I try setup WPML "A different domain per language". When I enter https://pl.main.com then return Not valid. and I cannot move to next step.

WPML cannot support me with this, I read all forum and most people have similar issue and still I not find good solution to resolve this.
notvalid.png

For reference:

I'm using litespeed web server, I;m not sure this solve my issue, but I found somelike this below, But this is for ngnix and apache. But I've litespeed. Cananyone help me with this?

1) subdomain is created and folder available in public_html/pl
2) DNS record is correct add with *.main.com and when I put example index.html to pl.main.com then working correct. So I dont know from come this issue "not valid".
 

Attachments

  • 6493247-Screenshot_2020_07_01_at_12.48.37.png
    6493247-Screenshot_2020_07_01_at_12.48.37.png
    88.2 KB · Views: 86
Thanks for reply with this. Now I remove this subdomain as subdomain and add this subdomain as pointer. Now I again try and still return "invalid". I uncheck option "valid on save" and confirm this without valid. Now When I try enter this subdomain, then redirect to main domain :(
 
@update
This solution (pointer subdomain) resolved my issue. Thanks for help!

Greetings.
 
Back
Top