[Solved] How to remove the redirection domain.com to domain-com.server.company.com ?
[Solved] How to remove the redirection domain.com to domain-com.server.company.com ?
I have a strange problem on few websites hosted by my vestacp server.
During the dev phase, the website was reached on domain-com.myserver.mycompany.com as temporary URL
The original domain.com was set up to use previous DNS server to reach the old website.
When the new website is OK, I'm changing the DNS for domain.com to use ns1.mycompany.com and ns2.mycompany.com
Generaly, it's working like a charm.
But on 2 websites, if I go on domain.com, I'm automaticaly redirected to domain-com.myserver.mycompany.com
And I don't understand how to remove this redirection on vestacp (because I think the issue is on vestacp side), and use http://www.domain.com as main URL
I hope I was clear enought !
During the dev phase, the website was reached on domain-com.myserver.mycompany.com as temporary URL
The original domain.com was set up to use previous DNS server to reach the old website.
When the new website is OK, I'm changing the DNS for domain.com to use ns1.mycompany.com and ns2.mycompany.com
Generaly, it's working like a charm.
But on 2 websites, if I go on domain.com, I'm automaticaly redirected to domain-com.myserver.mycompany.com
And I don't understand how to remove this redirection on vestacp (because I think the issue is on vestacp side), and use http://www.domain.com as main URL
I hope I was clear enought !
Last edited by Spheerys on Sat May 21, 2016 4:02 pm, edited 1 time in total.
Re: How to remove the redirection domain.com to domain-com.server.company.com ?
Hi there,
How have you set up the redirection at the beginning?
How have you set up the redirection at the beginning?
Re: How to remove the redirection domain.com to domain-com.server.company.com ?
I didn't set any specific option neither before, nor after
Here my configuration for the user account :
Here the web configuration for the domain :
Here my configuration for the user account :
Here the web configuration for the domain :
Last edited by Spheerys on Sat May 21, 2016 4:02 pm, edited 1 time in total.
Re: How to remove the redirection domain.com to domain-com.server.company.com ?
Maybe a clue.
I have 3 users on VestaCP :
- me, with 12 websites
- user1 with only one website : biotoucy.com
- user2 with only one other website
The problem occurs only with user1 and user2.
I don't have any issue with the alias domain with my user account
It's look like a bind issue, but I don't know how to debug it...
I have 3 users on VestaCP :
- me, with 12 websites
- user1 with only one website : biotoucy.com
- user2 with only one other website
The problem occurs only with user1 and user2.
I don't have any issue with the alias domain with my user account
It's look like a bind issue, but I don't know how to debug it...
Re: How to remove the redirection domain.com to domain-com.server.company.com ?
Ah ah ah ah.
The problem comes from the CMS (Wordpress in this case) which was installed from the URL domain-com.server.company.com !
This url was recorded in the database.
Change it from the CMS or phpmyadmin solved the problem !
The problem comes from the CMS (Wordpress in this case) which was installed from the URL domain-com.server.company.com !
This url was recorded in the database.
Change it from the CMS or phpmyadmin solved the problem !