Hi Marikkannan ,

On Tue, Dec 11, 2012 at 5:14 PM, Marikkannan Rajagopal <
[email protected]> wrote:

> Dear All..,
>
>              I have a cloud server in "Rackspace" and my os is in
> "Centos",there i run "LAMP" Server.,and now i plan to run three (3) sites
> by using the same server itself.
>
>   i have three separate domain name like (consider)
>
>   1.www.abc.com            -----> A record  Pointed to  ("198.0.10.255")
>
>  2.www.def.com             ----> A record  Pointed to  ("198.0.10.255")
>
> 3. www.ghi.com            -----> A record  Pointed to  ("198.0.10.255")
>
>
>      Now i configure my "httpd.conf" by
>
>  NameVirtualhost *:80
>
>
NameVirtualhost 198.0.10.255:80


>
> http://www.abc.com
>
> <VirtualHost *:80>
>

<VirtualHost 198.0.10.255:80>


>     ServerAdmin [email protected]
>     DocumentRoot /var/www/html/abc.com
>     ServerName abc.com


ServerAlias www.abc.com


>
>     ErrorLog /var/logs/httpd/abc.com/error_log
>     CustomLog /var/logs/httpd/abc.com/access_log common
> </VirtualHost>
>
>
> http://www.def.com
>
>
> <VirtualHost *:80>
>

<VirtualHost 198.0.10.255:80>


>     ServerAdmin [email protected]
>     DocumentRoot /var/www/html/def.com
>     ServerName def.com


ServerAlias www.def.com


>
>     ErrorLog /var/logs/httpd/def.com/error_log
>     CustomLog /var/logs/httpd/def.com/access_log common
> </VirtualHost>
>
>
> http://www.ghi.com
>
> <VirtualHost *:80>
>

<VirtualHost 198.0.10.255:80>


>     ServerAdmin [email protected]
>     DocumentRoot /var/www/html/ghi.com
>     ServerName ghi.com


ServerAlias www.ghi.com


>
>     ErrorLog /var/logs/httpd/ghi.com/error_log
>     CustomLog /var/logs/httpd/ghi.com/access_log common
> </VirtualHost>
>
>
> Now i got the error while restart the "Apache server"..,
>
> Stopping httpd:                                            [FAILED]
> Starting httpd: httpd: Could not reliably determine the server's fully
> qualified domain name, using 198.101.225.59 for ServerName
>                                                            [FAILED]
>
>  i am going right direction or wrong way..,please suggest me..,and mention
> what are all the changes i would made in "/etc/hosts" file.
>
>
   Go to "/etc/hosts" file and add your FQDN
An FQDN must include a hostname part, as well as a domain name part.

Ex.
your-server-ip   host.abc.com
your-server-ip   host.def.com
your-server-ip   host.ghi.com


can you try now?...



>
>                        Thanks in Advance.
>
> --
> R.Marikkannan
> Linux System Administrator
> BloomingFeld
> _______________________________________________
> ILUGC Mailing List:
> http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
>





Thanks & Regards

Manivel R
Linux System Administrator.
Indian Institute of Technology, Bombay.
_______________________________________________
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to