CentOS 6.5 single server multiple domains?
Hi there,
I'm new to CentOS 6.5 I have the server installed with Apache, MySQL and PHP. Now i have 2 domain-names: MrEaz.com and MrEaz.nl Now how do i setup the single server to redirect each of the domain onto it's own domain-directory. And also, how do i create pages on the CentOS, because i'm only familiar with the Desktop-editions of Linux and Unix (Ubuntu, OpenSuse, Solaris) If anybody could help me out, thnq alot! |
just have a google for a virtual hosting guide for apache, that will tell you all you need to know.
and you can create pages however you like. CentOS can run anything Ubuntu can. I would recommend not writing them on the server though, and uploading them from a dev machine (your own laptop etc.) over scp or such like. |
Current latest Centos is 6.3 https://www.centos.org/; number typo?
|
vhost
it is in the Apache docs http://httpd.apache.org/docs/2.4/ http://httpd.apache.org/docs/2.4/vhosts/ Quote:
and why would a web TEXT file be different that any other text file? a text file is a text file |
Quote:
And yes, vhost is the way to go. |
All times are GMT -5. The time now is 02:14 AM. |