How to Access website by IP address – Hestiacp | Solvedlinux solvedlinux, September 12, 2024September 12, 2024 Whenever you did a new Hestiacp installation it will require to add a domain to run your website or application. When you are just developing to website or application and you just want to test your applicaiton by using by accessing it via IP address you will always get the page ” Success!Your new web server is ready to use”. How to Open site with default server ip ? There are two ways to get done this, It depend on your purpose. Method 1 When you just require to run your website or apllication for testing purpose or developing purpose you can visit /var/www/html and you will find default index.html file. remove it and upload your content. Then you will able to access your website throught Ip address. Copy/var/www/html Method 2 Whenever you have a domain or you have added a fake domain like blabla.com and uploaded content in /home/admin/web/yourdomain.com/public_html you can follow these steps to get fix this. Also whenever you want to access your application from cname record also you have to follow these steps. For that you will need to edit apache configuration file. For that you need to visit, Copy /etc/apache2/conf.d In that directory you will find a .conf file with your ip address [youripaddress].conf something like 68.183.134.110.conf Listen 68.183.134.110:8443 Listen 68.183.134.110:8080 <VirtualHost 68.183.134.110:8080> ServerName 68.183.134.110 DocumentRoot /var/www/html/ Alias /error/ /var/www/document_errors/ </VirtualHost> <VirtualHost 68.183.134.110:8443> ServerName 68.183.134.110 DocumentRoot /var/www/html/ Alias /error/ /var/www/document_errors/ SSLEngine on SSLVerifyClient none SSLCertificateFile /usr/local/hestia/ssl/certificate.crt SSLCertificateKeyFile /usr/local/hestia/ssl/certificate.key </VirtualHost> You have to clear all the data except first two lines. So when it cleaned it will like this. Copy Listen 68.183.134.110:8443 Listen 68.183.134.110:8080 Now save the conf file and restart the apache. If you runs nginx also restart it. then you will able to access your website or from ip address in hestiacp. Copy sudo service apache2 restart sudo service nginx restart Uncategorized