[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

Hi, /g/. I'm having problems setting up a website with

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 8
Thread images: 2

File: apache-server.jpg (23KB, 650x302px) Image search: [Google]
apache-server.jpg
23KB, 650x302px
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.
>>
File: 1488229775901.gif (564KB, 800x430px) Image search: [Google]
1488229775901.gif
564KB, 800x430px
/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.
Thread posts: 8
Thread images: 2


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.