You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by "Mackey, Harold A." <ma...@musc.edu> on 2014/06/24 14:36:03 UTC

[users@httpd] name resolution only works when showing ip address

I cannot seem to configure this VM in Apache or WP to resolve to a
hostname instead of ip address. The main page does this, however, any
sub-page, including admin folder, either breaks or resolves without css.
Suggestions would be appreciated.
Harry


VMHost is
<VirtualHost *:80>
ServerAdmin xxx@xxx.edu
ServerName xxx.xxx.edu
DocumentRoot "/var/www/html/test"
HostnameLookups Off
UseCanonicalName Off
ServerSignature On



Wp-config is

/* Absolute path to the WordPress directory. */
if ( !defined('ABSPATH') )
        define('ABSPATH', dirname(__FILE__) . '/');

/** Sets up WordPress vars and included files. */
require_once(ABSPATH . 'wp-settings.php');

define('FS_METHOD', 'direct');
define('WP_HOME', 'http://123.45.67.890/test');
define('WP_SITEURL', 'http://123.45.67.890/test');





Thx,
harry


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org