I'm trying to configure my server for ease access for locally hosted websites. Ideally I would like to access sickbeard (http://myserver.domain.local:8081) through a shorter URL: http://sickbeard
Locally everything seems to work, but from my client computer I just get a DNS error.
For reference:
This is a conf file that I have included in httpd.conf:
The file /usr/local/etc/namedb/zones/mywebsite.sin.x looks like this:
Obviously there is a lot of extra stuff from the guide that I don't need in there.
I've also ensured that Apache http proxy is correctly configured:
And locally, at least everything seems to work:
From my windows machine, it doesn't seem to work, I can't connect to the website through: http://mywebsite.sin.x
Note, that the website does load if I try connecting to it via http://pride.sin.x
This is the response from the windows nslookup:
I have no idea what I'm doing, please help.
Locally everything seems to work, but from my client computer I just get a DNS error.
For reference:
- Server Name: Pride
- Domain Name: sin.x
This is a conf file that I have included in httpd.conf:
Code:
zone "mywebsite.sin.x" {
type master;
file "/usr/local/etc/namedb/zones/mywebsite.sin.x";
};
The file /usr/local/etc/namedb/zones/mywebsite.sin.x looks like this:
Code:
; BIND data file for mywebsite.sin.x
;
$ORIGIN mywebsite.sin.x.
$TTL 604800
@ IN SOA pride.mywebsite.sin.x. myemail.mywebsite.sin.x. (
2009120106 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
IN NS pride.mywebsite.sin.x.
IN MX 10 mail.mywebsite.sin.x.
localhost IN A 127.0.0.1
mywebsite.sin.x. IN A 192.168.0.1
pride IN A 192.168.0.1
www IN A 192.168.0.1
ftp IN A 192.168.0.1
mail IN A 192.168.0.1
boards IN CNAME www
I've also ensured that Apache http proxy is correctly configured:
Code:
<VirtualHost *:80>
ServerName mywebsite.sin.x
DocumentRoot /usr/local/www/apache24/data/
</VirtualHost>
And locally, at least everything seems to work:
Code:
root@pride:/usr/local/etc/namedb # curl mywebsite.sin.x
<html><body><h1>It works!</h1></body></html>
From my windows machine, it doesn't seem to work, I can't connect to the website through: http://mywebsite.sin.x
Note, that the website does load if I try connecting to it via http://pride.sin.x
This is the response from the windows nslookup:
Code:
H:\Users\quinriva>nslookup pride
DNS request timed out.
timeout was 2 seconds.
Server: UnKnown
Address: 192.168.0.1
DNS request timed out.
timeout was 2 seconds.
DNS request timed out.
timeout was 2 seconds.
*** Request to UnKnown timed-out
I have no idea what I'm doing, please help.