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.
Use VestaCP DNS, to point to internal IP?
Use VestaCP DNS, to point to internal IP?
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)
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)
Re: Use VestaCP DNS, to point to internal IP?
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
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
-
- Posts: 38
- Joined: Tue Aug 16, 2016 4:58 pm
Re: Use VestaCP DNS, to point to internal IP?
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.
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.