TalkPHP

TalkPHP (http://www.talkphp.com/forums.php)
-   Advanced PHP Programming (http://www.talkphp.com/advanced-php-programming/)
-   -   how can i make a sub domain using xampp server (http://www.talkphp.com/advanced-php-programming/4851-how-can-i-make-sub-domain-using-xampp-server.html)

gamerNL 08-15-2009 08:16 AM

how can i make a sub domain using xampp server
 
hi everybody who's reading this,

can anyone tell me and explain me how to make a sub domain
by using xampp server? i do have a domain bi0hazard.tk
thats the domain to my site but i want some sub domains called
like: games.bi0hazard.tk, server.bi0hazard.tk, forum.bi0hazard.tk
please can you help me with this. it will help very much.

thanks for reading

dennis kluytmans,

adamdecaf 08-15-2009 06:01 PM

Quote:

Originally Posted by gamerNL (Post 27768)
hi everybody who's reading this,

can anyone tell me and explain me how to make a sub domain
by using xampp server? i do have a domain bi0hazard.tk
thats the domain to my site but i want some sub domains called
like: games.bi0hazard.tk, server.bi0hazard.tk, forum.bi0hazard.tk
please can you help me with this. it will help very much.

thanks for reading

dennis kluytmans,

Use the apache virtual hosts.

Example...

Code:

<VirtualHost *:80>
    ServerAdmin first.last@sub.domain.tld
    DocumentRoot "C:/path/to/htdocs"
    ServerName localhost
    ServerAlias localhost
    ErrorLog "logs/error.log"
    CustomLog "logs/access.log" common
</VirtualHost>


gamerNL 08-15-2009 09:24 PM

every time i tried that my server go's out of air
and wont start until I delete the config I made

adamdecaf 08-16-2009 05:42 PM

Quote:

Originally Posted by gamerNL (Post 27783)
every time i tried that my server go's out of air
and wont start until I delete the config I made

Then the command is wrong, aka the syntax behind it is missing something.


All times are GMT. The time now is 07:04 PM.

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0