[Ilugc] Virtual_host_Configuration

  • From: kumarrkslinux@xxxxxxxxx (KUMARASWAMY)
  • Date: Wed, 12 Dec 2012 14:37:30 +0530

Hi Team,

Its looks fine and you are using name based virtual host. Have made any
entry for abc.com at DNS server. please do and retry again.

Here below error show's looks like fully qualified domain name name. you
can try www.abc.com instaed of  abc.com <http://www.abc.com>.
or change the server name as www.abc.com change and restart httpd

Thank You,
R. Kumaraswamy
Email id:  kumarrkslinux at gmail.com
Now I am At Tamilnadu +91 9944358860
Mobile At Bangalore +91 9880014908
*My Bookmark websit <http://www.mya2zurls.com/rkskumar/>e*


----- Stand up, be bold, and take the blame on your own shoulders. Do not
go about throwing mud at others; for all the faults you suffer from, you
are the sole and only cause.






On Tue, Dec 11, 2012 at 5:14 PM, Marikkannan Rajagopal <
mail2marikkannan at gmail.com> 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


http://www.abc.com

<VirtualHost *:80>
    ServerAdmin webmaster at abc.com
    DocumentRoot /var/www/html/abc.com
    ServerName 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>
    ServerAdmin webmaster at def.com
    DocumentRoot /var/www/html/def.com
    ServerName 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>
    ServerAdmin webmaster at ghi.com
    DocumentRoot /var/www/html/ghi.com
    ServerName 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.


                       Thanks in Advance.

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


Other related posts: