hey .
i have a big problem with vps .
all my sites is down .
but server and services is up .
i search to my problem and find this :
but i dont know how fix it .
and i direct admin say to me this message :
and i change server.iranianhoster.com in etc-> host to iranianhoster.com .mean remove server. from before iranianhoster.
![Big grin :D :D](https://cdn.jsdelivr.net/joypixels/assets/8.0/png/unicode/64/1f600.png)
Please help me .
i have a big problem with vps .
all my sites is down .
but server and services is up .
i search to my problem and find this :
Code:
http://www.intodns.com/iranianhoster.com
and i direct admin say to me this message :
Your hostname, iranianhoster.com, and the servername you have set in DirectAdmin, server.iranianhoster.com, do not match. It is recommended that these two values are the same.
Solution:
Either change the servername in DirectAdmin or run the 'hostname.sh' script via ssh to change your hostname
iranianhoster.com, resolves to 127.0.0.1. Please make sure that your hostname resolves to your server ip (207.182.159.221) or else your email may not work correctly.
Solution:
Create an A record for your hostname (iranianhoster.com.) in your DNS control panel. Point the hostname to your server's main IP address. Also check /etc/hosts to ensure that the server ip is correctly set.
and i change server.iranianhoster.com in etc-> host to iranianhoster.com .mean remove server. from before iranianhoster.
![Big grin :D :D](https://cdn.jsdelivr.net/joypixels/assets/8.0/png/unicode/64/1f600.png)
Please help me .