We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
VestaCP CentOS 7 Server Installer
Re: VestaCP CentOS 7 Server Installer
my result:
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 1121
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 512
;; QUESTION SECTION:
;server.xxxx.com. IN A
;; Query time: 3135 msec
;; SERVER: 8.8.8.8#53(8.8.8.8)
;; WHEN: Wed May 03 13:05:46 EDT 2017
;; MSG SIZE rcvd: 55
--------------
How to troubleshoot , it looks like it failed.
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 1121
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 512
;; QUESTION SECTION:
;server.xxxx.com. IN A
;; Query time: 3135 msec
;; SERVER: 8.8.8.8#53(8.8.8.8)
;; WHEN: Wed May 03 13:05:46 EDT 2017
;; MSG SIZE rcvd: 55
--------------
How to troubleshoot , it looks like it failed.
Re: VestaCP CentOS 7 Server Installer
It means there is no A record for server.xxxx.com - you need this A record in order for it to work. You'll have to set up a new A record at xxxx.com for serverpandabb wrote:my result:
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 1121
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 512
;; QUESTION SECTION:
;server.xxxx.com. IN A
;; Query time: 3135 msec
;; SERVER: 8.8.8.8#53(8.8.8.8)
;; WHEN: Wed May 03 13:05:46 EDT 2017
;; MSG SIZE rcvd: 55
--------------
How to troubleshoot , it looks like it failed.
Re: VestaCP CentOS 7 Server Installer
Where do i configure this? I don't think my registrar allows me to do this unless i use their own nameservers. I can think of cloudflare ? Or should i manually configure this on my vps using named, if yes will it not make a conflict once vesta has been setup?
Re: VestaCP CentOS 7 Server Installer
You have to add this to named wherever the nameservers are for the primary domain (xxxx.com) and add an A record for server (server.xxxx.com0 to an IP addresspandabb wrote:Where do i configure this? I don't think my registrar allows me to do this unless i use their own nameservers. I can think of cloudflare ? Or should i manually configure this on my vps using named, if yes will it not make a conflict once vesta has been setup?
-
- Posts: 33
- Joined: Sun Apr 27, 2014 3:40 pm
Re: VestaCP CentOS 7 Server Installer
i have a quick question. im using cloudflare so my hostname ip will point to cloudflare ip. is this a potential problem?
Re: VestaCP CentOS 7 Server Installer
I can't answer this question because I do not use Cloudfare - I imagine it won't work but you could try.lossehelin wrote:i have a quick question. im using cloudflare so my hostname ip will point to cloudflare ip. is this a potential problem?
-
- Posts: 33
- Joined: Sun Apr 27, 2014 3:40 pm
Re: VestaCP CentOS 7 Server Installer
yeah. didnt work...... and turning it off., install and then turn cloudflare on again might be a problem i guess?
Re: VestaCP CentOS 7 Server Installer
If you can turn it off so hostname.domain.com points to the server IP address then you should be OK. What happens with the install script is it uses Let's Encrypt to install a SSL certificate onto hostname.domain.com which in turn secures the control panel, phpmyadmin, roundcube, exim, dovecot, etc. However, when this comes to renew (which is does automatically) I imagine it would fail aswell.lossehelin wrote:yeah. didnt work...... and turning it off., install and then turn cloudflare on again might be a problem i guess?
Re: VestaCP CentOS 7 Server Installer
Hello thanks for the great script i got it working via cloudflare except for the SSL'd hostname it didn't come out pre-installed due to my error i forgot to add http://www.hostname i only added the one without www.
Question: Since i manually added the ssl for the server hostname do i have to do this again manually or your script will auto renew this after it expires ?
Question: Can you give a short info or description where to use best the backend templates:
1. default
2. nophp
3. socket
If you have a custom template too for wordpress that would be great.
Laslty, do you have a template or code to force https the hostname server url ? I tried the template force https under the DOCS section but it doesn't work it made nginx stop.
Thank a lot!
Question: Since i manually added the ssl for the server hostname do i have to do this again manually or your script will auto renew this after it expires ?
Question: Can you give a short info or description where to use best the backend templates:
1. default
2. nophp
3. socket
If you have a custom template too for wordpress that would be great.
Laslty, do you have a template or code to force https the hostname server url ? I tried the template force https under the DOCS section but it doesn't work it made nginx stop.
Thank a lot!
Re: VestaCP CentOS 7 Server Installer
If you added SSL via the command line or through the Vest Control Panel it will automatically renew. You can check this by making sure there is a cronjob under admin with: sudo /usr/local/vesta//bin/v-update-letsencrypt-sslpandabb wrote:Hello thanks for the great script i got it working via cloudflare except for the SSL'd hostname it didn't come out pre-installed due to my error i forgot to add http://www.hostname i only added the one without www.
Question: Since i manually added the ssl for the server hostname do i have to do this again manually or your script will auto renew this after it expires ?
Question: Can you give a short info or description where to use best the backend templates:
1. default
2. nophp
3. socket
If you have a custom template too for wordpress that would be great.
Laslty, do you have a template or code to force https the hostname server url ? I tried the template force https under the DOCS section but it doesn't work it made nginx stop.
Thank a lot!
socket is always best to use if you are using PHP and nophp is best to use if you are not.
The code below will do HTTP -> HTTPS - you must put this in nginx.conf but if you ever update/rebuild and/or LetsEncrypt renews it will change it back to the default:
Code: Select all
server {
listen SERVER_IP_ADDRESS:80;
server_name yourdomain.com www.yourdomain.com;
location / { rewrite ^(.*) https://www.yourdomain.com$1 permanent; }
}