How can i access a website IP Only in shared IP VPS
-
Hello, Do you want to the public to access the website directly via the IP address? If not, I suggest modifying the hosts file on your computer to temporary point the domain name to the IP address associated with your server: hosts (file) - Wikipedia, the free encyclopedia You can then browse to the domain name itself before changing the DNS. Thank you. 0 -
Hello @cPanelMichael, Thanks for reply. actually i am trying to run a application on my VPS which need to run on domain and subdomain or IP address. so i have hosted a domain and uploaded the application and its working fine. like my application is opening fine from http://domainname.com now i want to access same application from sub domain like http://sub.domainname.com I have created a A record in Domain DNS (WHM) pointing to IP of my server. but this is also not working, when i type as sub domain is not working, i also try to open application from IP address and did all settings in /usr/local/apache/conf/httpd.conf restart Apache again its not working and going to same page 0 -
I have created a A record in Domain DNS (WHM) pointing to IP of my server. but this is also not working, when i type
Could you check to verify the IP address that subdomain resolves to from your workstation is the same IP address configured for the account in Web Host Manager? Also, could you clear your browser and DNS cache to verify that's not the reason you see that message? Thank you.0 -
Hello, Yes my domain and sub domain resolve to same IP address. also i cleared my DNS and browsing history but its still same. As i wrote I have Single IP on server and only one domain is hosted on that VPS. Thanks 0 -
Hello, Could you verify the subdomain is listed in cPanel, in addition to resolving to the correct IP address? The subdomain should load as long as it's added to cPanel and the "A" record is configured. Thank you. 0
Please sign in to leave a comment.
Comments
5 comments