Skip to content

Mastering PHP and Laravel

Never stop learning!

Menu

  • Home
  • Blog Posts
  • Humor

Setting fully qualified domain name for Apache server

Edit /etc/apache2/httpd.conf

Search, using ctrl-w, for ServerName

Uncomment this line:

#ServerName www.example.com:80

and then change the last part to “localhost”

ServerName localhost

 

Setting fully qualified domain name for Apache server
Kenny November 6, 2014September 27, 2023 Blog Posts, Mac Terminal / Linux
  • ← Installing Laravel site: permissions
  • WordPress plugin OOP template →

Archives

Categories

Copyright © 2025 Mastering PHP and Laravel. All rights reserved. Theme Spacious by ThemeGrill. Powered by: WordPress.