By default Ubuntu doesn’t specify a ServerName in the Apache configuration, because it doesn’t know what the name of your server is. It tries a reverse lookup on your IP address, which returns nothing, so it just has to use the IP address as the ServerName.
To fix it, either add a ServerName directive outside of any virtual host – e.g. in /etc/apache2/httpd.conf
, or set up a reverse DNS response for your primary IP address – in this case, 127.0.1.1
It’s perfectly fine to ignore it also.
Related Posts:
- Apache2 config variable is not defined
- How do I select which Apache MPM to use?
- Redirect, Change URLs or Redirect HTTP to HTTPS in Apache – Everything You Ever Wanted to Know About mod_rewrite Rules but Were Afraid to Ask
- Finding out what user Apache is running as?
- Is it bad to redirect http to https?
- Is it possible to generate RSA key without pass phrase?
- What does Apache’s “Require all granted” really do?
- Multiple SSL domains on the same IP address and same port?
- How do I prevent apache from serving the .git directory?
- Proxy Error 502 “Reason: Error reading from remote server” with Apache 2.2.3 (Debian) mod_proxy and Jetty 6.1.18
- How does ServerName and ServerAlias work?
- Dealing with HTTP w00tw00t attacks
- Using variables in Apache config files to reduce duplication?
- How to get Apache2 to redirect to a subdirectory
- Why is the response on localhost so slow?
- Do you have any useful awk and grep scripts for parsing apache logs? [closed]
- Error in “MLSD” command While Connecting FTP to Server [closed]
- Java default constructor
- How do I make a delay in Java?
- How to find which version of TensorFlow is installed in my system?
- did you specify the right host or port? error on Kubernetes
- How does Java’s PriorityQueue differ from a min-heap?
- error: command ‘gcc’ failed with exit status 1 while installing eventlet
- What is a Memory Heap?
- 403 Forbidden vs 401 Unauthorized HTTP responses
- Advanced AREL or just Rails Query for has_many through search by association
- “If not” condition statement in python
- How can I sort a dictionary by key?
- Transport endpoint is not connected
- How to convert .crt to .pem [duplicate]
- pagebreak in markdown while creating pdf
- “E: Unable to locate package python-pip” on Ubuntu 18.04 [duplicate]
- Time Complexity of Prims Algorithm?
- How do I split a string on a delimiter in Bash?
- Why does Wi-Fi have so much more bandwidth than Bluetooth?
- What’s the difference between & and && in MATLAB?
- azure error 502 – Web server received an invalid response while acting as a gateway or proxy server
- What is a Ray ID (Cloudflare)?
- What is the definition of a “disparity map”?
- Alternative to ui-grid(doesn’t support angular2/4)
- Tool for drawing parse trees?
- SwiftUI – How do I change the background color of a View?
- How to resolve the error java.net.SocketException: Too many open files
- Using map in Haskell
- R dates “origin” must be supplied
- Downgrade npm to an older version
- Mongoose.js: remove collection or DB
- slideToggle JQuery right to left
- Valgrind Invalid free() / delete / delete[] / realloc() in C
- ImportError: No module named ‘xlrd’
- Exception in thread “main” java.lang.reflect.InvocationTargetException
- Devise lockable – How to unlock account using unlock_in
- How to bind multiple values to a single WPF TextBlock?
- No module named django but it is installed
- npm “failed to parse json”
- reversing list in Lisp
- How do I install chkconfig on Ubuntu?
- How to disable Windows Update Medic Service?
- Systrace for Windows
- Good way to encapsulate Integer.parseInt()
- TCP/IP packets and datagrams
- ArrayList of int array in java
- What are the differences between Mustache.js and Handlebars.js?
- Android Debugging Failing With “Couldn’t connect to logcat, GetProcessId returned: 0” FFImageLoading.Platform.dll.so Not Found
- PHP – Indirect modification of overloaded property
- use wp_get_theme() to get theme author name
- Displaying a message when plug-in is deactivated
- get_previous_post in same categories
- How to change the paginated posts link class?
- How use custom image size + ACF + background image
- Pass AJAX variable to PHP functions WordPress plugin
- A little stumped – first WordPress theme
- Display shortcode based on user meta
- Woocommerce Image Categorie Page
- Hide image on homepage [closed]
- What is a Pem file and how does it differ from other OpenSSL Generated Key File Formats?
- How to set environment variable in systemd service?
- Symlink not updating as expected when using an absolute with relative path
- How to include multiple domains in an spf TXT Record
- Physically locating the server
- Good tools that fit on a thumb drive [closed]
- How do you answer yes for yum install automatically
- All servers flooded by salt water, is it possible to recover data from multi-platter drives?
- How do I auto-start docker containers at system boot?
- How to check if I’m in screen session?
- How to zip/unzip files in Powershell?
- Cooling Server Closet – No A/C Is Possible
- Is it better practice to buy RAID disks individually vs. in bulk?
- What range of MAC addresses can I safely use for my virtual machines?
- What sysadmin things should every programmer know?
- df says disk is full, but it is not
- Why do systems generally disable virtualization by default in BIOS settings?
- 10 servers to administer and I’m a history major [closed]
- Making `wget` not save the page
- Is there a proper way to clear logs?
- How do I list all connected Salt Stack minions?
- What does that mean: packages excluded due to repository priority protections
- Best location to keep SSL certificates and private keys on Ubuntu servers?
- How can I set a short timeout with the ping command?
- How should an IT department choose a standard Linux distribution?