New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
Vesta CP and Cloudflare
I'm stuck with properly configuring Vesta CP with Cloudflare. Can't find any tutorial that is noobs friendly. The Vesta forum doesn't seems to be noobs friendly either. I remember a lot of people here use the CP, so any noobs friendly guidance is highly appreciated.
Comments
What exactly is the problem?
Here's what I did on Cloudflare;
A---------panel.domainname.tld---server IP Address-----Cloudflare ON
A---------domainname.tld-----------server IP Address-----Cloudflare ON
CNAME--www-------------------------domainname.tld------Cloudflare ON
I typed panel.domainname.tld when asked during the installation process. After it finish, I cannot connect to https://panel.domainname.tld:8083/ but I can connect to https://IP_Address:8083/. When I visited panel.domainname.tld and domainname.tld. both shows Apache2 Ubuntu Default Page. But when I replaced the index.html on public_html (on both domain and subdomain) with my index.html, nothing change.
I know this has got to do with Nginx setting but I don't know what to change.
best way probably is to configure nginx as reverse proxy for vesta itself on the chosen subdomain to not need the port 8083... I did this some time ago and remember there were some culprits to work around, but I got it working. Can have a look into this later for you.
I am not much into CF, so maybe there are other options/additional things to do though.
Stupid cloudflare wont let me post :-(
http://pasted.co/13e87d85
http://pasted.co/c29f3538
http://pasted.co/d4d92eeb
Brother it seems your dns is not binding properly ..
Your configuration seems correct
Try making a new file in
Directory
Var www html index2.html
And then try to access this...
Example.com/index2.html
Cloudflare blocks ports btw so domain.com:8083 won't work by design.
I made a php echo file index2.html in the directory.
But when I navigate to domain.tld/index2.html on my browser, it gave me this:
`Not Found
The requested URL /index2.html was not found on this server.`
Seriously....
Bro do this
Echo "helko" >> index.html
Check on the cloudflare website the ports that won't get blocked. Then follow this guide:
http://www.lowendguide.com/3/security/vestacp-change-listening-port-admin-interface/
Still
Not Found
.But domain.tld/index.html shows the page:
sub.domain.tld
Powered by VESTA.
I think this has something to do with Cloudflare blocks as @zafouhar and the genius member at Vesta forum mentioned;
https://forum.vestacp.com/viewtopic.php?f=13&t=12258
Unfortunately instead of helping out he called me ignorant (which is true and the reason I asked in the first place) and told me to learn nginx, lol.
It works! Thanks a lot man!
I've googled like days but never found that tutorial.