Greetings again everyone,
Just a quick question on locally served data. I’ve setup a wiki and would like it served directly from a browser. My information is as follows
dns server : ..10.246
wiki server : ..10.245
desired name : mywiki.wiki
I’ve setup the following thinking that it would process correctly
local-zone: “mywiki” in the unbound.conf file
local-zone: “mywiki” static
local-data: " mywiki IN A 192.168.10.246"
local-data: “mywiki.wiki A 192.168.10.245”
local-data-ptr: “192.168.10.245 mywiki.wiki”
when I do an NSlookup through windows I get the properly served address but alas I cannot access it through the web browser.
Any help would be appreciated,
Thank you,
Levi Pederson
Mankato Networks LLC
612-481-0769
levipederson@mankatonetworks.net
Levi,
It could just be your email, but your second local-data entry is missing the IN class.
-Jeremy
Hi Levi,
when I do an NSlookup through windows I get the properly served address
but alas I cannot access it through the web browser.
If you are served the proper A record the issue is probably in your
webserver. I have a suggestion though. I'm guessing you are using name
based virtual hosting (having multiple websites on 1 IP address).
If you are using apache you have probably a file somewhere roughly here:
/etc/apache2/sites-available/yourwiki
Make sure it contains ServerName and optional ServerAlias.
<VirtualHost *:80>
DocumentRoot /var/www/yourwikiinstall
ServerName mywiki.wiki
# ServerAlias www.mywiki.wiki
</VirtualHost>
HUP your webserver.
Regards,
Yuri Schaeffer