Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Web Server
  • Search

Apache2 Ubuntu Default Page Appears instead of my index.html Topic is solved

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
9 posts • Page 1 of 1
devops
Posts: 3
Joined: Tue Feb 02, 2016 2:58 pm

Apache2 Ubuntu Default Page Appears instead of my index.html
  • Quote

Post by devops » Tue Feb 02, 2016 3:05 pm

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?
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

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

Post by skurudo » Tue Feb 02, 2016 3:12 pm

You have added the domain.com in panel?
You have added A-record for your domain?
Top

devops
Posts: 3
Joined: Tue Feb 02, 2016 2:58 pm

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

Post by devops » Tue Feb 02, 2016 3:16 pm

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?
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

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

Post by skurudo » Wed Feb 03, 2016 9:49 am

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.
Top

Dustin
Posts: 5
Joined: Thu May 05, 2016 8:44 am

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

Post by Dustin » Thu May 05, 2016 9:00 am

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.
Top

Elizine
Posts: 50
Joined: Wed Aug 12, 2015 12:11 pm
Contact:
Contact Elizine
Website

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

Post by Elizine » Fri May 06, 2016 10:57 am

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.
Top

sirpros
Posts: 13
Joined: Mon Oct 21, 2013 8:29 am

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

Post by sirpros » Tue Oct 04, 2016 12:08 pm

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 ?
Top

drtechie
Posts: 1
Joined: Thu Dec 29, 2016 6:22 am

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

Post by drtechie » Thu Dec 29, 2016 6:53 am

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.
Top

dpeca
VestaCP Team
Posts: 473
Joined: Wed Nov 25, 2015 7:30 pm

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

Post by dpeca » Wed May 23, 2018 3:58 pm

rm /usr/local/vesta/data/ips/10.10.0.5

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


Post Reply
  • Print view

9 posts • Page 1 of 1

Return to “Web Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password