How can I add a subdomain for a specific country?
« on: December 31, 2023, 11:26:42 PM »
Welcome

How can I add a subdomain for a specific country?

For example, this is the main domain domain.com
And I added this subdomain libya.domain.com
  You have already added the region,
I adjusted all the settings in the advanced settings, and when I clicked on the specific country, I was not selected for the specific location.
The subdomain file was empty.
In this case what should I do?

*

MB Themes

Re: How can I add a subdomain for a specific country?
« Reply #1 on: January 01, 2024, 05:31:30 PM »
You can select what kind of subdomain you want - country, region, city...
Then it eill work for all of selected type.
You cannot mix types.
If you want subdomains for 1 country only, you should do redirects to main domain via htaccess
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

Re: How can I add a subdomain for a specific country?
« Reply #2 on: January 01, 2024, 06:41:34 PM »
Happy New Year to the Osclass team! Thank you very much for the response. I don't know much about website development, and I'm not proficient in English. I request your assistance. I have followed all the steps in this guide: https://docs.osclasspoint.com/subdomains-configuration. However, when I select specific countries, I am redirected to an empty file that was automatically created when I added the subdomain *.suqalrahma.com. Please review the attached images. Are these settings correct, or is there an error? The main link to my site is https://suqalrahma.com/

Re: How can I add a subdomain for a specific country?
« Reply #3 on: January 01, 2024, 06:43:00 PM »
 .

Re: How can I add a subdomain for a specific country?
« Reply #4 on: January 01, 2024, 06:43:45 PM »
 .

*

MB Themes

Re: How can I add a subdomain for a specific country?
« Reply #5 on: January 02, 2024, 06:29:53 PM »
Hosting wildcard redirect does not work or is not correctly configured as you got to hosting empty page instead of being redirected to main domain.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots