[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]
[LI] my httpd.conf and named.conf
____________________________________________________________________
Get free email and a permanent address at http://www.netaddress.com/?N=1
hello,
i have been trying to set up an apache server in my intranet.i have configured my
/etc/httpd/conf/httpd.conf file as follows and below that is my named.conf file.i
have placed my document in the directory mentioned.the name of my machine is red.linux.com
and th name of my website is tranlee.linux.com(ip alias 203.129.248.203)after all this i
restarted "named" and "httpd" and when i give the url in netscape communicator i get the
error message "this url is not found ".could somebody please help me.i have also specified a
route to the ip address thru the command "route add -host 203.129.248.203 dev eth0:1"
my httpd.conf file:-
--------------------
<VirtualHost tranlee.linux.com>
ServerAdmin webmaster@xxxxxxxxxxxxxxxxx
DocumentRoot /www/tran/main.html
ServerName red.linux.com
</VirtualHost>
my named.conf file:-
--------------------
@ IN SOA red.linux.com hostmaster.red. (
2000012702 ; serial
3600 ; refresh
900 ; retry
1209600 ; expire
43200 ; default_ttl
)
@ IN MX 5 red
@ IN NS red.linux.com.
red IN A 203.129.248.200
tranlee IN A 203.129.248.203