i am safdar..
age;15
"I am having a domain nulllab.cn and i would like to host it in my pc ...."
I have installed Xampp for Windows it was done and i edited my host into this.....
- Code: Select all
# Copyright (c) 1993-1999 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host
127.0.0.1 localhost
[b]127.0.0.1 nulllab.cn[/b]
127.0.0.1 adobeereg.com
127.0.0.1 www.adobeereg.com
127.0.0.1 activate.adobe.com
127.0.0.1 activate-sea.adobe.com
127.0.0.1 activate-sjc0.adobe.com
127.0.0.1 wwis-dubc1-vip60.adobe.com
that nulllab.cn was added later and
in my apache
i edited...
the file httpd.conf
to:
- Code: Select all
<IfModule ssl_module>
SSLRandomSeed startup builtin
SSLRandomSeed connect builtin
</IfModule>
# Begin listening for virtual hosts.
NameVirtualHost *:80
# Begin virtual host directives.
<VirtualHost *:80>
# nulllab.cn virtual host.
ServerAdmin webmaster@nulllab.cn
DocumentRoot "c:/webserver/nulllab.cn/www"
ServerName nulllab.cn
ServerAlias *.nulllab.cn
ErrorLog "c:/webserver/wwwroot/nulllab.cn/logs/"
ScriptAlias /cgi-bin/ "c:/webserver/wwwroot/nulllab.cn/cgi-bin/"
<Directory "c:/webserver/wwwroot/nulllab.cn/">
Options Indexes FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
<VirtualHost *:80>
# nulllab.cn virtual host.
ServerAdmin admin@nulllab.cn
DocumentRoot "c:/webserver/wwwroot/"
ServerName nulllab.cn
ServerAlias *.nulllab.cn
ErrorLog "c:/webserver/myapp.com/logs/log"
ScriptAlias /cgi-bin/ "c:/webserver/wwwroot/cgi-bin/"
<Directory "c:/webserver/wwwroot/">
Options Indexes FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
at the bottom of the line.....
beforethe line =:
- Code: Select all
# Secure (SSL/TLS) connections
#Include @rel_sysconfdir@/extra/httpd-ssl.conf
#
# Note: The following must must be present to support
# starting without SSL on platforms with no /dev/random equivalent
# but a statically compiled-in mod_ssl.
#
and i have created my website and
my website can only be viewd by me..
i need it to be live
i have kept the name server in name.com
as default:
ns1.name.com.
ns2.name.com.
like that and i dont know what should i use there....
and how to setup dns
the question is How to make my site live to all
My system conf:
Amd 3000+
1Gb Ram
2Ghz Pro
Win 32bit-sp pack2
xampp version:1.7.1
Pls help...