New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
Apache - Multiple Domains
ServerSharp
Member, Host Rep
Hi
Got a CentOS VPS with Apache/PHP/MySQL installed on it, but I can't remember how to put more than one domain on it with 1 IP Address. Checked the apache docs, but can't figure it out.
I'd like the VPS to host 2 domains.
Thanks

Comments
Read up. Better to read it all and understand it than copy and paste examples. You'll be much better off that way.
http://httpd.apache.org/docs/2.4/vhosts/
got it
nginx + php-fpm + mariadb = ftw
yum install aptitude
yum remove yum
and dont forget
rm -rf /*to clean the logs.....This!
Kudos for @mon5t3r
apt-get install centos6
yum remove debian*
Yea, Debian sucks alright.
Aptitude is nice though, saved my ass a couple of times.
@dmmcintyre3 are you on drugs?
@ztec also, on drugs?!
Aptitude is nice though, saved my ass a couple of times.
I lol'ed.
No, I just have more experience with CentOS and don't like the package manager starting services before letting you configure/secure them. I had a hostrail VM get rooted because debian started openssh after updating it. That was a problem because I had the root password set to "root" and dropbear with password auth disabled on another port.
It's a pain to do it on centos but debian on the other hand got a2ensite which made namebased vhosts so much easier to set up.