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 DNS Server
  • Search

Use VestaCP DNS, to point to internal IP?

Questions regarding the DNS Server
BIND
Post Reply
  • Print view
Advanced search
3 posts • Page 1 of 1
brafi
Posts: 7
Joined: Sat Sep 16, 2017 9:41 pm

Use VestaCP DNS, to point to internal IP?
  • Quote

Post by brafi » Fri Nov 30, 2018 1:41 pm

Hi

Is it possible to create a domain, via my VestaCP DNS-management, pointing to an internal IP (port 443), via external IP?

I only have 1 global IP, on my internet connection, but would like to add more servers on my internal network:
- 1 "main-server" with vestacp, running mail, web and so on. (Port 80 an 443)
- via subdomain, to add a second dedicated server, only running Nextcloud for family-files. (only port 443)

Is this possible via VestaCP?
What should I look for, for having more servers on the same IP, using the same ports?

Example:
Global IP: 11.22.33.44

Internal servers:
server1.domain.xx - 192.168.1.1 (port 80, 443)
server2.domain.xx - 192.168.1.2 (port 443)
Top

Felix
Posts: 134
Joined: Tue Aug 04, 2015 7:15 pm

Os: Ubuntu 15x
Web: apache + nginx
Re: Use VestaCP DNS, to point to internal IP?
  • Quote

Post by Felix » Sun Jan 13, 2019 2:03 pm

Yes it can be done.

If your VESTA Server is an authoritative NS server for your domain (domain.xx), then you can add A records for:
server1.domain.xx to point to 192.168.1.1
server2.domain.xx to point to 192.168.1.2
and so on.

When someone queries the DNS for server1.domain.xx they will get the reply of IP 192.168.0.1
Top

Vegas10128
Posts: 38
Joined: Tue Aug 16, 2016 4:58 pm

Re: Use VestaCP DNS, to point to internal IP?
  • Quote

Post by Vegas10128 » Wed Apr 08, 2020 9:14 am

Could you please explain how to set this up exactly?

I have been having a hard time trying to get something (exactly as this post question) to work and have no luck.

One time ive had luck was involving an haproxy server which came with soo much complications when involving ssl.
I had to just tank the HAProxy server and away with it.
Top


Post Reply
  • Print view

3 posts • Page 1 of 1

Return to “DNS 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