Virtual Host Issue?
-
[ Moderator note: moved to Fixing WordPress. ]
I have recently installed wordpress on my CentOS7 machine.
Ideally I would like my wordpress site to be hosted on http://www.zenels.com however I am having some issues doing this.Currently the wordpress folder is located in
/var/www/zenelswordpress/wordpressWhen I set this as the document root for my server the desired effect is achieved but when I attempt to use dashboard links to customize and edit my site they are all set to something like zenels.com/wordpress/wp-admin.php which produces a 404 based on the current document root
If I set the document root to
/var/www/zenelswordpress I am able to use the dashboard buttons to navigate but zenels.com displays the apache2 test page.What would be the best solution here?
EDIT: I should also mention that when I have the documentroot pointed at /var/www/zenelswordpress/wordpress I am able to access wp-admin by going to zenels.com/wp-admin and this works fine but is there a way to get the toolbar at the top of your page working?
The topic ‘Virtual Host Issue?’ is closed to new replies.