Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Thu Mar 19, 2015 3:02 pm 
Offline

Joined: Thu Mar 19, 2015 2:58 pm
Posts: 1
Hello!

I have multiple websites that all have very low traffic. Is there a way to have them all be hosted on a single linode?

For example I want:
example.com to go to LinodeServerA

I also want example2.com to go to LinodeServerA.

I want both example.com and example2.com to use port 80.

Is there some kind of trick that makes this possible?

Thanks


Top
   
PostPosted: Thu Mar 19, 2015 10:46 pm 
Offline
Senior Newbie

Joined: Sat Mar 14, 2015 12:13 am
Posts: 19
Yes, it is called name based virtual hosting and at this point of time, virtually every web server does it out of the box.

Code:
<VirtualHost 192.168.0.101:80>
ServerName www.domain.tld
php_value include_path "/usr/share/AliceNet/phpinclude:/usr/share/pear"
DocumentRoot "/srv/www.domain.tld/www"
ErrorLog logs/domain.tld.error_log
CustomLog logs/domain.tld.access_log combined
</VirtualHost>


etc.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group