Page 1 of 1

Apache2 Ubuntu Default Page Appears instead of my index.html

Posted: Tue Feb 02, 2016 3:05 pm
by devops
Hi,
I've installed VestaCP in my new Ubuntu vps. It looks very nice. I 've installed VestaCP as tutorial using panel.mydomain.com. But the problem is the following, I modified the index.hml file (in public_html folder) using a FTP Client. But when I go to www.mydomain.com, the "Apache2 Ubuntu Default Page" appears. The domain is no reading the index.html file.

Could you please help me?

Re: Apache2 Ubuntu Default Page Appears instead of my index.html

Posted: Tue Feb 02, 2016 3:12 pm
by skurudo
You have added the domain.com in panel?
You have added A-record for your domain?

Re: Apache2 Ubuntu Default Page Appears instead of my index.html

Posted: Tue Feb 02, 2016 3:16 pm
by devops
Yes, when I go to panel.mydomain.com I can see VestaCP.
I think is something about Apache, maybe is using another Apache instead of VestaCP Apache installation or something like that. Another Idea?

Re: Apache2 Ubuntu Default Page Appears instead of my index.html

Posted: Wed Feb 03, 2016 9:49 am
by skurudo
Did you use minimal/clean without other software? Some Apache2 config seems not right.

PM me, let's check what's going on your server.

Re: Apache2 Ubuntu Default Page Appears instead of my index.html

Posted: Thu May 05, 2016 9:00 am
by Dustin
Did you ever find a solution? I am now having this issue too.

What is strange is I have another site on the server that is working fine, and for the problem site I can go to http://www.xxx.com/index.php, and it works, but if I go to http://www.xxx.com I just get the default Vesta page.

I am not sure what the issue is. I have deleted the site, then add it again. I have rebooted the server. I am not certain where to look to find the root of the issue, though.

Since you asked the other guy, I am running Ubuntu 15.04 64-bit Minimal and I have only installed VestaCP on this server, and nothing else. For VestaCP I did the default generated install minus Mail from http://vestacp.com/#install

Found the issue! I forgot to delete the "index.html" that Vesta puts in the public_html directory by default.

Re: Apache2 Ubuntu Default Page Appears instead of my index.html

Posted: Fri May 06, 2016 10:57 am
by Elizine
Did you try editing the /etc/apache2/sites-available/default file to make your new directory of '/home/gav/public_html/' the new document root? The information below can be updated in the default file.

Code: Select all

DocumentRoot /home/gav/public_html/
ServerName localhost

<Directory "/home/gav/public_html/">
Order allow,deny
Allow from all
AllowOverride All
</Directory>
Hope this helps.

Re: Apache2 Ubuntu Default Page Appears instead of my index.html

Posted: Tue Oct 04, 2016 12:08 pm
by sirpros
I have set up a domain but the page that displays for it is not the one in: root@vesta:/home/admin/web/mydrupalsite.co.uk/public_html# index.html instead it shows an irritating page with It worked! Powered by VESTA . This would of course not be irritating if it was the right page but it is not :)
https://www.digitalocean.com/community/ ... g-in-vesta

This problem still exists can anyone please help with a link to where it has been fixed ?

Re: Apache2 Ubuntu Default Page Appears instead of my index.html

Posted: Thu Dec 29, 2016 6:53 am
by drtechie
I had this same issue.

I am hosting with digital ocean.

The IP Address dropdown of the domain had two IPs. One private and one public one. By default the private one was selected. Once I changed it to the public one everything started working perfectly.

Re: Apache2 Ubuntu Default Page Appears instead of my index.html

Posted: Wed May 23, 2018 3:58 pm
by dpeca
rm /usr/local/vesta/data/ips/10.10.0.5

and then recreate domains (or assign them public IP via EDIT WEB interface)