• 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');
  • The topic ‘only config that works shows ip address’ is closed to new replies.