NickR
Cadet
- Joined
- Jun 16, 2017
- Messages
- 3
Hi all,
I'm totally new with FreeNAS, but I already find it the best solution for the stuff I want. I'm just itching my head because I can't figure out the last thing anymore that I need to make my FreeNAS set-up 100%.
Ok, here's the deal. I got a domain zzz.com. I configured a subdomain yyy.zzz.com, A record to my home IP, wildcard A record too. I can ping from anywhere, and it gives me my home address. So yyy.zzz.com -> home IP, xxx.yyy.zzz.com -> home IP, etc. Ok, until now all fine.
I configured my router so ports 80/443 will go to my FreeNAS host (192.168.10.200). Currently it's a VM, future will be a Intel NUC. Now the problem is I want different jails and they all need to run services on 80/443 but with different domains. To be more precise, I want yyy.zzz.com (subdomain web server), git.yyy.zzz.com (git server and gitlab on web server), other.yyy.zzz.com.
I do not know what I need? I'm totally confused and off track. I created jails, edited a lot of /etc/resolve.conf, /etc/hosts, no success. I think I need a DNS on 192.168.10.200, or just create a DNS jail 192.168.10.199, configure that to my router's port forwarding. But I tried it and probably did anything wrong.
Can someone push me in the right direction?
I'm totally new with FreeNAS, but I already find it the best solution for the stuff I want. I'm just itching my head because I can't figure out the last thing anymore that I need to make my FreeNAS set-up 100%.
Ok, here's the deal. I got a domain zzz.com. I configured a subdomain yyy.zzz.com, A record to my home IP, wildcard A record too. I can ping from anywhere, and it gives me my home address. So yyy.zzz.com -> home IP, xxx.yyy.zzz.com -> home IP, etc. Ok, until now all fine.
I configured my router so ports 80/443 will go to my FreeNAS host (192.168.10.200). Currently it's a VM, future will be a Intel NUC. Now the problem is I want different jails and they all need to run services on 80/443 but with different domains. To be more precise, I want yyy.zzz.com (subdomain web server), git.yyy.zzz.com (git server and gitlab on web server), other.yyy.zzz.com.
I do not know what I need? I'm totally confused and off track. I created jails, edited a lot of /etc/resolve.conf, /etc/hosts, no success. I think I need a DNS on 192.168.10.200, or just create a DNS jail 192.168.10.199, configure that to my router's port forwarding. But I tried it and probably did anything wrong.
Can someone push me in the right direction?