Need your help to create my own Web Server

alie

Aspiring Daemon

Reaction score: 54
Messages: 575

Hi guys,

I'm learning web programming & networking now, i need your help to create multiple domains Home Web Server with FreeBSD, is there any simple tutorial to create home web server ? fyi: i will use my laptop to create my web server for testing.
 

gilinko

Well-Known Member

Reaction score: 58
Messages: 416

What you are looking for(if you are using apache) is the link that SirDice gave. More precise the "named-virtual-hosts" part which gives you the information needed for this setup. The information on the apache website it quite straight forward, and there are some details in the /usr/local/etc/apache22/extra/httpd-vhosts.conf file that is created with the apache22 install with a example entry.
 
OP
alie

alie

Aspiring Daemon

Reaction score: 54
Messages: 575

@gilinko: i want create web server that can support multiple domains with apache and i want use 1 IP for multiple domains. is it possible ?
 

SirDice

Administrator
Staff member
Administrator
Moderator

Reaction score: 11,191
Messages: 37,329

Yes, it's called name-based virtual hosts. See the documentation link I posted.
 
Top