I manage a website that is found on a dedicated server. I use ispconfig as administration panel.
My problem is:
If use on my website CURL for example in index.php and request another page from my website eg index2.php it says that host not found.
I tried php function uses gethostbyname with my website name parameter but I did not receive an IP, a sign that does not find the host, which is a little absurd because the i can enter the website.
Another strange thing is that if I try CURL or gethostbyname from another website and another host to my site everything is working.
It's like my site does not know of its existence.
Another thing to mention is that if you try to enter the site using my IP address says server not found.
What should I change in ispconfig or what I can do to solve this problem?