aaPanel_Kern
I added the domain name to the table and the domain records are also assigned to that domain name and do not redirect anywhere. As I said, this error does not happen often, sometimes it happens, sometimes it doesn't. I really don't know what the cause is. But I guess there is something wrong with the ssl generation part so it is receiving the wrong ssl value from each other. Like domain A's ssl receives domain B's ssl, from there A will redirect to B.
Domain auto redirect to other domain after setup ssl
aaP_kienvictory
It is recommended that you check the configuration of the website first. Do you use redis for caching?
Set SSL on the panel, only add ssl related configuration
aaPanel_Kern
I do use redis, but I cleared the redis cache and restarted it. When I created the website, it was a blank WordPress website, it didn't have any data. It is really confusing to explain this problem, but it is true that I have never encountered this situation before.
Does the website's redis configuration use the same library?
aaPanel_Kern
I just turned on the redis extension and your default redis cache, not writing code that uses redis.
wordpress plugin? Are you using the same database?
I said I don't use the same database. I installed blank WordPress using your existing wordpress creation tool. It can redirect to any domain name that was on the previous server, including the domain name of a node js project, or wordpress.
aaP_kienvictory
It is recommended to check whether your access method is correct?
The site does not deploy ssl, and using https access will jump to the website with SSL settings, which is a characteristic of the web
Don't you understand what I mean? For example, I have 2 domains: domain1.com and domain2.com. Both of these domain names have ssl installed on the server using your ssl creation method, and both use the https protocol to access the web. But the problem is that sometimes it will error when accessing https://domain2.com, it will automatically redirect to https://domain1.com, and when encountering this error, the only way is to delete the domain name domain2.com go and transfer it to another server. And if you recreate that domain name, it will still be redirected like that.
aaP_kienvictory
This issue was not reproduced.
Hello, can you give us your aapanel information? The server first makes a snapshot backup, if possible, please send it to kern@aapanel.com.
It is recommended to fill in the following content
Post link:
SSH IP address, account password and port:
aapanel login link address and account password:
Tell us which domain has the problem:
If there is no post link, it will not be possible to know which user's information it is, and the problem will not be processed
I had the same problem on my new website... It always redirects to another domain on the same server
maybe this is because of the Redis cache
It may also be caused by not configuring SSL and using https for access.
aaPanel_Kern Hi Kern
I had same error when domain1.com is SSL installed and I can not access to domain2.com.
When I access to domain2.com via http, it redirects me to https://domain2.com (tried with 2 browsers: Safari and EDGE). I tried to install SSL to domain2.com but I can not because browser can not access to the files (404):
I can see the .well-know folder is created in file browser:
So please help me this issue.
Thanks.
Hello, it is recommended that you use DNS verification. Is this a solution?