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 General Discussion
  • Search

VestaCP CentOS 7 Server Installer

General questions about VestaCP
Post Reply
  • Print view
Advanced search
61 posts
  • Page 4 of 7
    • Jump to page:
  • Previous
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • Next
pandabb
Posts: 192
Joined: Sat Aug 08, 2015 3:03 am

Re: VestaCP CentOS 7 Server Installer
  • Quote

Post by pandabb » Sat Dec 03, 2016 1:39 pm

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

SS88
Posts: 336
Joined: Thu Nov 19, 2015 12:40 pm

Re: VestaCP CentOS 7 Server Installer
  • Quote

Post by SS88 » Sat Dec 03, 2016 4:53 pm

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

pandabb
Posts: 192
Joined: Sat Aug 08, 2015 3:03 am

Re: VestaCP CentOS 7 Server Installer
  • Quote

Post by pandabb » Sun Dec 04, 2016 3:31 am

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

SS88
Posts: 336
Joined: Thu Nov 19, 2015 12:40 pm

Re: VestaCP CentOS 7 Server Installer
  • Quote

Post by SS88 » Sun Dec 04, 2016 12:13 pm

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

lossehelin
Posts: 33
Joined: Sun Apr 27, 2014 3:40 pm

Re: VestaCP CentOS 7 Server Installer
  • Quote

Post by lossehelin » Mon Dec 05, 2016 5:02 pm

i have a quick question. im using cloudflare so my hostname ip will point to cloudflare ip. is this a potential problem?
Top

SS88
Posts: 336
Joined: Thu Nov 19, 2015 12:40 pm

Re: VestaCP CentOS 7 Server Installer
  • Quote

Post by SS88 » Mon Dec 05, 2016 7:13 pm

lossehelin wrote:i have a quick question. im using cloudflare so my hostname ip will point to cloudflare ip. is this a potential problem?
I can't answer this question because I do not use Cloudfare - I imagine it won't work but you could try.
Top

lossehelin
Posts: 33
Joined: Sun Apr 27, 2014 3:40 pm

Re: VestaCP CentOS 7 Server Installer
  • Quote

Post by lossehelin » Tue Dec 06, 2016 5:47 pm

yeah. didnt work...... and turning it off., install and then turn cloudflare on again might be a problem i guess?
Top

SS88
Posts: 336
Joined: Thu Nov 19, 2015 12:40 pm

Re: VestaCP CentOS 7 Server Installer
  • Quote

Post by SS88 » Tue Dec 06, 2016 6:05 pm

lossehelin wrote:yeah. didnt work...... and turning it off., install and then turn cloudflare on again might be a problem i guess?
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.
Top

pandabb
Posts: 192
Joined: Sat Aug 08, 2015 3:03 am

Re: VestaCP CentOS 7 Server Installer
  • Quote

Post by pandabb » Thu Dec 08, 2016 8:26 am

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

SS88
Posts: 336
Joined: Thu Nov 19, 2015 12:40 pm

Re: VestaCP CentOS 7 Server Installer
  • Quote

Post by SS88 » Thu Dec 08, 2016 12:44 pm

pandabb 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!
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-ssl

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; }
}
Top


Post Reply
  • Print view

61 posts
  • Page 4 of 7
    • Jump to page:
  • Previous
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • Next

Return to “General Discussion”



  • 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