Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8691521
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T00:08:13+00:00 2026-06-13T00:08:13+00:00

I set Centos 6.3 up on a Rackspace box, using a static IP address

  • 0

I set Centos 6.3 up on a Rackspace box, using a static IP address (not a FQDN). I will be setting up virtual hosts on this box, and it seems to be working fine, but when I restart the HTTPD server, I get an error message “could not reliably determine the server’s fully qualified domain name, using xx.xxx.xx.xx for ServerName” (xx.xxx.xx.xx is the static IP address for the server).

My /etc/hosts has the following in it:

27.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6
xx.xxx.xx.xx    name-used-for-rackspace

name-used-for-racspace is a name (not a FQDN) I used when I created the server (you have to enter a name).

I assume that I may not have to change anything in /etc/hosts, but what do I put in httpd.conf? right now, I have the following in that file:

NameVirtualHost *:80
<VirtualHost *:80>
    DocumentRoot /var/www/html
    ServerName localhost 
    <Directory /var/www/html>
            allow from all
            Options +Indexes
    </Directory>
</VirtualHost>

I also tried setting ServerName to xx.xxx.xx.xx, but I got the same error message.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T00:08:14+00:00Added an answer on June 13, 2026 at 12:08 am

    This error is because you are not using a FQDN. It should not affect the operation of the webserver.

    To get rid of the message on startup you’d need to configure your hosts file with the correct domain and IP address. Your httpd.conf should also use the same name (where you have localhost specified).

    As long as your server is starting and you don’t plan on assigning a domain to your webserver, this error can be ignored.

    Example virtual host with FQDN:

    <VirtualHost *:80>
    ServerName www.domain.net
    ServerAlias domain.net *.domain.net
    ServerAdmin administrator@domain.net
    DocumentRoot "/home/domain/htdocs"
    <Directory "/home/domain/htdocs">
            Options Indexes FollowSymLinks
            AllowOverride All
            Order allow,deny
            Allow from all
    </Directory>
    CustomLog "/home/domain/logs/access-www.log" common
    ErrorLog "/home/domain/logs/error-www.log"
    
            <IfModule mpm_peruser_module>
              ServerEnvironment apache apache
            </IfModule>
    </VirtualHost>
    

    Example hosts file:

    127.0.0.1       localhost       localhost.localdomain gentoo1
    x.x.x.x         gentoo1.domain.net
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've been trying to set up a mail server on a rackspace CentOS 6
I'm working on setting up a production server using CentOS 5.3, Apache, and Phusion
I have an environment variable that I set (on Centos 6) using profile.d, as
I'm trying to set up a virtual machine (vmware workstation 8.0.2) running CentOS 6.2
set(TestProject_additional_libs optimized foobar.lib debug foobard.lib } especially what is optimized/debug mean here? Is this
set batVar_Parameters=/Developer /Test=0 if not '%batVar_Iteration%' equ '-1' ( set batVar_Parameters=%batVar_Parameters% /Iteration=%batVar_Iteration% ) if
Set content of table ... ViewState[Table1] = Table1; // When remove this line, table
SET @v1 := SELECT COUNT(*) FROM user_rating; SELECT @v1 When I execute this query
I set up 3 identical linux (CentOS) servers on Vmware. Basically built one and
I'm using CentOS, which appears to have vim installed by default. I located the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.