Ajenti
Knowledge base
KK
English (EN)
Русский (RU)
Español (ES)
Français (FR)
Deutsch (DE)
Nederlands (NL)
Íslenska (IS)
Eesti (ET)
Қазақша (KK)
Українська (UK)
Dansk (DA)
Català (CA)
Polski (PL)
Кіру / Tiркелу
KK
English (EN)
Русский (RU)
Español (ES)
Français (FR)
Deutsch (DE)
Nederlands (NL)
Íslenska (IS)
Eesti (ET)
Қазақша (KK)
Українська (UK)
Dansk (DA)
Català (CA)
Polski (PL)
Кіру / Tiркелу
General
Сұрақтар
0
Бұл не?
Сәйкес келмейді
Спам
Телнұсқа
Redirect subdomains to main domain
MonsterCake
9 year бұрын
•
updated by
janxb
9 year бұрын
•
3
Is there a simple way to redirect all subdomains *.domain.com to domain.com?
Vote
0
0
Болдырмау
Follow
Replies
3
Жоғарыдан ескілер
Жоғарыдан жаңалар
Жоғарыдан ескілер
0
Lexy
9 year бұрын
in the nginx configuration of your site >> content tab >> custom confiquration
enter youre server_name like this
server_name yourdomain.com *.yourdomain.com;
Жауап беру
Бұл не?
Сәйкес келмейді
Спам
Телнұсқа
|
0
Roman Random
9 year бұрын
I tried this solution but it doesn't work for me. Also tried this to no avail:
server {
server_name *.mydomain.com;
rewrite ^(.*)
http://
mydomain.com$1 permanent;
}
Please, give me some hint!
Жауап беру
Бұл не?
Сәйкес келмейді
Спам
Телнұсқа
|
0
janxb
9 year бұрын
Please have a look at the answer
I posted in this thread
.
Edit: You then would add a nginx redirect in the created default host to redirect to the main domain.
Жауап беру
Бұл не?
Сәйкес келмейді
Спам
Телнұсқа
|
Customer support service
by UserEcho
Бөлісу
Topic stats
0
Дауыстар
3
Replies
3
Followers
7438
Views
enter youre server_name like this
server_name yourdomain.com *.yourdomain.com;
server {
Edit: You then would add a nginx redirect in the created default host to redirect to the main domain.