Problems with DNS & SSL & directadmin

ساخت وبلاگ

Hello,

I have a VPS on wich a website is hosted.
Domainname is hosted somewere else, and DNS settings link it to my VPS.
I moved the domainname to another hostingprovider yesterday, and the problems started.
Before the move it was working perfect, with SSL.

Current situation:
http://batterypackservice.be is working I think, (on my pc it shows "forbidden" page, because I deleted the index file on the hosting at the provider my domainname is hosted, but on my phone I get the website from the VPS)
http://www.batterypackservice.be seems to be working everywere
https://www.batterypackservice.be gives an error because of the SSL certificate.

I tried generating a new certificate but get this error now:
Getting challenge for batterypackservice.be from acme-server...
Error: http://batterypackservice.be/.well-k...ypt_1516192836 is not reachable. Aborting the script.
dig output for batterypackservice.be:
37.97.240.2
Please make sure /.well-known alias is setup in WWW server.

It seems like the directadminpanel on my VPS also sees the url "http://batterypackservice.be" as on my pc, instead of going to the VPS IP

If there is any expert in DNS / directadmin / VPS (centOS) who can fix this properly and fast, I am also willing to pay.
I have to get this resolved asap.

Thanks in advance for any help!

*UPDATE**
did this command true SSH on my VPS:
$ wget http://batterypackservice.be/images/...rvice_logo.png
doesnt work.
$ wget http://www.batterypackservice.be/ima...rvice_logo.png
works.

So I guess the problem with the SSL is because of this problem. But how do I fix this?

DirectAdmin Forums...
ما را در سایت DirectAdmin Forums دنبال می کنید

برچسب : نویسنده : ایمان اصلاحی directadmin بازدید : 308 تاريخ : چهارشنبه 27 دی 1396 ساعت: 20:03