Author Topic: The server's fully qualified domain name  (Read 16725 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
The server's fully qualified domain name
« on: December 22, 2014, 07:01:02 PM »
Hello!

Congratulations for your amazed work!

Can you explain where is the problem here?
How can I fix this problem?
With steps please as I am new in this work :)

 

Starting httpd: httpd: Could not reliably determine the server's fully qualified domain name, using server1.xxx.com for ServerName

Offline
**
Re: The server's fully qualified domain name
« Reply #1 on: December 23, 2014, 08:36:11 AM »
Try setting the hostname by using the hostname command
1.connect to the server via ssh
2.su or sudo if required (if not logged in as root) and type hostname your.fqdn.com ( this is your fqdn not what i typed here)
3.restart httpd using service httpd restart

Offline
*
Re: The server's fully qualified domain name
« Reply #2 on: December 23, 2014, 02:43:50 PM »
Try setting the hostname by using the hostname command
1.connect to the server via ssh
2.su or sudo if required (if not logged in as root) and type hostname your.fqdn.com ( this is your fqdn not what i typed here)
3.restart httpd using service httpd restart

Thank You!

Offline
*
Re: The server's fully qualified domain name
« Reply #3 on: December 28, 2014, 11:26:39 PM »
You can also edit  /usr/local/apache/conf/httpd.conf (Apache Settings -> Apache Configuration) and remove the pound sign before ServerName. Change YourDomain to yours. Save and restart appache.

Code: [Select]
#
# ServerName gives the name and port that the server uses to identify itself.
# This can often be determined automatically, but we recommend you specify
# it explicitly to prevent problems during startup.
#
# If your host doesn't have a registered DNS name, enter its IP address here.
#
ServerName YourDomain:80

Offline
***
Re: The server's fully qualified domain name
« Reply #4 on: December 30, 2014, 08:01:21 AM »
FQDN stands for Full Qualified Domain Name.

Subdomains are NOT Full Qualified, onty top tld domain names are welcome to that, so Apache test cannot tell you NEVER the oppossite.

Example: server1.xxx.com
xxx.com is FQDN, a top level domain (tld).
server1.xxx.com is 2ēnd level domain, usually known as subdomain.
cdn.server.xxx.com is 3ērd level domain, you can call it also a subdomain, but deeper.

Note: if you buy somedomain.com.es MAY be threated as NOT FQDN on many tests even if it's really a TLD, because com.es is recognized as subdomain if you use a string comparison operation. These tipe or pseudo top tld has to be bypassed on those each test you submit it.

As example, i got rejected on many listings to try use .com.es. (NO MORE)

Think about internet and tech are not fine tuned.
8==D it's a function that try to compare 8 (int) against D (string) which returns True or False depending on the asker.