DNS HELP, please, someone...
DNS HELP, please, someone...
Hello,
using this CP, can I make a DNS record to different servers on my LAN so I can assign servers to domains to access outside my network?
If I can, how do I do this?
thanks, jordan.
(Re-posted because I did something wrong)
using this CP, can I make a DNS record to different servers on my LAN so I can assign servers to domains to access outside my network?
If I can, how do I do this?
thanks, jordan.
(Re-posted because I did something wrong)
Re: DNS HELP, please, someone...
SpoilerShow

Last edited by Jordan688 on Mon Jan 18, 2016 6:14 pm, edited 1 time in total.
-
- Collaborator
- Posts: 783
- Joined: Mon May 11, 2015 8:43 am
- Contact:
- Os: CentOS 6x
- Web: apache + nginx
Re: DNS HELP, please, someone...
VestaCP is a free to use CP. This is maintained by people in their free time. If you want to quickly support you have to pay for it. Have patience ...
Yes, you can make DNS records to your LAN servers. If the servers need to be available through the internet, you need to create a connection between you servers and the internet.
Yes, you can make DNS records to your LAN servers. If the servers need to be available through the internet, you need to create a connection between you servers and the internet.
Re: DNS HELP, please, someone...
I get that I need to make the connection. I would like to know how to set up a DNS record so that when I go to a sub domain of my site, it connections to a different server on my lan...
-
- Collaborator
- Posts: 783
- Joined: Mon May 11, 2015 8:43 am
- Contact:
- Os: CentOS 6x
- Web: apache + nginx
Re: DNS HELP, please, someone...
1) Add your main domain: https://youserveripordomain:8083/add/dns/
Domain: yourdomain.com
2) Add subdomain record in domain dns list: https://yourserverip:8083/add/dns/?doma ... domain.com[/b]
record: sub
type: A
ip or value: 192.168.1.xxx (your LAN server IP)
Domain: yourdomain.com
2) Add subdomain record in domain dns list: https://yourserverip:8083/add/dns/?doma ... domain.com[/b]
record: sub
type: A
ip or value: 192.168.1.xxx (your LAN server IP)
Re: DNS HELP, please, someone...
I tried doing this and it still doesn't work, is there something that I have to do before this?tjebbeke wrote:1) Add your main domain: https://youserveripordomain:8083/add/dns/
Domain: yourdomain.com
2) Add subdomain record in domain dns list: https://yourserverip:8083/add/dns/?doma ... domain.com[/b]
record: sub
type: A
ip or value: 192.168.1.xxx (your LAN server IP)
Re: DNS HELP, please, someone...
It doesn't seem like the re-directs are working at all really
-
- Collaborator
- Posts: 783
- Joined: Mon May 11, 2015 8:43 am
- Contact:
- Os: CentOS 6x
- Web: apache + nginx
Re: DNS HELP, please, someone...
Try to find out what's wrong. Check DNS settings with ping, nslookup, ...
Re: DNS HELP, please, someone...
So, you have two servers behind NAT 192.168.1.2 and 192.168.1.3? How many public IPs you have? One?
Last edited by mike08 on Tue Jan 26, 2016 6:58 pm, edited 1 time in total.
Re: DNS HELP, please, someone...
Yeah, I have one public IP. Would I need more?mike08 wrote:So, you have to servers behind NAT 192.168.1.2 and 192.168.1.3? How many public IPs you have? One?