Hi, /g/. I'm having problems setting up a website with virtual hosts, in Apache2 with bind.
Let's say I want three diferent pages, (www.)pron.com, (www.)ass.pron.com and (www.)tits.pron.com and the server IP is 192.168.10.5. I already configured apache2, but now I don't know how to set up the DNS conf files to work with this. Anyone can help me?
>>59250543
1. Setup a-records at ur domain registrar / host
2. Setup conf files in sites-enabled with servername variable
3. Enable the conf with a2enable or whatever
I guess I have to use CNAME somewhere, but I don't really understand bind9.
>>59250572
I'm doing it locally atm, on a Obongo Server. The Apache2 part is already done, I only need to set-up the DNSs.
What I'm really asking is what I have to put on /etc/bind/pron.com.db and /etc/bind/db.10.168.192
I have this in pron.com.db$TTL 86400
@ IN SOA pron.com. root.pron.com. (
1 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
86400 ) ; Negative Cache TTL
;
@ IN NS www.pron.com.
www IN A 192.168.10.5
ass IN A 192.168.10.5
tits IN A 192.168.10.5
and in db.10.168.192$TTL 86400
@ IN SOA www.pron.com. root.pron.com. (
1 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
86400 ) ; Negative Cache TTL
;
@ IN NS www.pron.com.
5 IN PTR www
5 IN PTR ass
5 IN PTR tits
But the secondary pages take me to the main webpage.
/g/ is not your personal tech support yatty yatty yatta
>>59252450
thanks for the bump, senpai
should I go to >>>/wsr/?
>>59252532
Try superuser website or something along those lines - somewhere dedicated to helping with tech issues. /g/ likes to be /g/ay at times.