Skip to main content

Questions tagged [virtual-hosts]

Filter by
Sorted by
Tagged with
0 votes
2 answers
804 views

Restricting access to a file for everyone except logged in users

I'm looking to restrict access to a specific file within a default wordpress install. This is referring to CVE-2018-6389 so I'm attempting to disable anyone from exploiting this. The file in ...
Scivic's user avatar
  • 1
0 votes
1 answer
68 views

How to point domain to wordpress page

I currently have a Wordpress "folder" at /my-page/. This is a htaccess rewritten url so obviously doesn't exist. I need to point a domain to this folder so that for www.my-page-domain.com ...
UKuser40's user avatar
0 votes
0 answers
141 views

Wordpress Multisite loads wrong subdomain dashboard

Background: I have a VPS where i launched multiple websites. I then had a requirement to create a new website that will utilize the Wordpress Multisite functionality I created my wordpress website ...
Armandt Burger's user avatar
0 votes
3 answers
52 views

Multisite Wordpress doesn't work properly on virual hosts

I need help with my WP installation. I have a home server for tests with LAMP and WP. I have created three sites: main.lan, test2.lan and pbtest.lan. pbtest.lan was installed first, this is a ...
Brajtek's user avatar
0 votes
1 answer
270 views

WordPress Showing IP Address Instead of Domain

When I navigate to my WordPress site, I get the IP address instead of the domain name. In settings> general I have changed the domain name but then I get an error message that the site cannot be found....
agoorria's user avatar
0 votes
1 answer
242 views

Multiple wordpress installations with same plugin folder (Apache Virtualhost)

I'm trying to use a single plugins folder for multiple websites to standardize my websites.Do you know any way to use Symlinks in WordPress? In a single shared folder send the plugins to various ...
Emanuel's user avatar
  • 103
0 votes
1 answer
94 views

Wordpress Multisite with Wildcard Certificates not mapping correctly

I have set up a Wordpress Multisite with LAMP successfully and it currently has the following structure a.com (wordpress primary domain) a1.a.com b.com b1.b.com b2.b.com b3.b.com c.com I ...
Byron Quezada's user avatar
0 votes
1 answer
640 views

change wordpress upload url to subdomain on xampp local

Firstly, I am sorry for bad English Language I want to make a site using wp on local with xampp 3.2.2 (win10) To avoid future problems (e.g changing domain after moving to live or changing media ...
Payam Baharan's user avatar
1 vote
1 answer
2k views

Difference between these two nginx try_files statements for WordPress?

What is the difference between these two try_files statements and which do you use and why? I've seen both used in tutorials online but cannot find an explanation of the differences or benefits of one ...
Paul's user avatar
  • 380
0 votes
0 answers
224 views

Migrating existing site to Azure is slow

I am migrating a site to Azure. However the site is now running unacceptably slow. The setup is as follows: Azure standard Linux apps service plan MySQL on Azure standard instance Here's some of the ...
Ian Newson's user avatar
2 votes
1 answer
1k views

Multisite without .htaccess

Do I need to use .htaccess file for a multisite? I have setup basic wordpress site and configured it with apache2 VirtualHost as: <VirtualHost *:80> ... RewriteEngine On Options ...
Gitnik's user avatar
  • 169
0 votes
1 answer
7k views

How do I correctly configure my AMPPS localhost to use subdomains for multisite?

I set up the site network to use subdomains locally (on Windows 10 AMPPS) and my hosts file has: 127.0.0.1 localhost 127.0.0.1 www.wooco.dev 127.0.0.1 bumbashop.wooco.dev C:\Program Files (x86)\...
Linens Digital's user avatar
0 votes
0 answers
187 views

Front-end pages messed up due to HTTPS

I have a WP blog at https://example.com/blog. I'm able to access the wp-admin pages but the front-end pages are messed up (https://example.com/blog/page/2/). I have /blog set as an alias in my Apache ...
Daniel Harris's user avatar
0 votes
1 answer
480 views

How to fix IP address issues after server migration

For the sake of discussion and clarity: Old ip = 12.345.6.789 New ip = 98.765.432.10 I created a development Wordpress server/site on a local virtualbox machine that had a bridged connection which ...
Jason's user avatar
  • 1
1 vote
2 answers
4k views

Avada resources still loading from localhost after database migration [closed]

I am using WP Migrate DB to migrate WordPress website built with Avada from local to a VM. I am doing a find and replace with Find: //localhost/website and Replace: //10.60.8.118/website Find: C:\...
Kiran Dash's user avatar
0 votes
0 answers
379 views

MAMP PRO with SSL and Wordpress - Cannot access interior pages of site

I'M using MAMP Pro and I've set up a unique host using the built in SSL certificate in MAMP. I've run a find an replace in the original DB so that the new URL matches the local URL, ex: https://...
mToce's user avatar
  • 131
0 votes
1 answer
335 views

Virtual HostX and MAMP not working with Wordpress

Virtual HostX and MAMP does not render the Wordpress files. Virtual HostX and MAMP are both set to port 80. However, the MAMP's Apache is not running. And MAMP's web server is set to htdocs folder ...
Linards Berzins's user avatar
4 votes
1 answer
297 views

WordPress Multisite - Multiple subfolders for blogs

I created a network in blog.animals.com, the network is running fine. I can set up blogs like blog.animals.com/chimpanse. This is also working. I like to have multiple (2) subdirectories for each blog,...
Bloxxor's user avatar
  • 43
4 votes
1 answer
8k views

WordPress multisite with domain mapping and virtual host on local with fake domain

I have searched all over and have found many tutorials on how to set up a multisite, domain mapping, and even use virtual hosts on my local machine, but I can't seem to find how to do all of those. I ...
stormchaser's user avatar
0 votes
1 answer
458 views

.htaccess and virtual host configuration for WP in its own directory

I've been taking a look at the modern WP development approaches using Composer and so on, for example Bedrock or WordPress-Skeleton. I'd like to adapt these approaches ad create my own WP boilerplate,...
MikO's user avatar
  • 595
1 vote
1 answer
920 views

"Database Connection Error" upon install in Apache VirtualHost document root.. Why did this happen? [closed]

I have apache virtualhosts up and confirmed working. I want to install wordpress for one of the vhosts, so I unpacked all the wordpress files in the document root for that vhost. I proceeded to follow ...
cbalos's user avatar
  • 121
0 votes
1 answer
2k views

Multiple WordPress on Virtual Host

I have AWS EC2 Linux server. Currently only one wordpress multisite mode is hosted in root folder (/var/www/html). Now I would like to host another wordpress site. So that I have enable apache ...
Alex Aung's user avatar
  • 135
0 votes
1 answer
129 views

Why is a wordpress login session limited to one domain

I have a wordpress installation on my virtual host, where the document root is accessible as both "somesite.com" as well as "www.somesite.com". If I set up site_url as "http://somesite.com", then when ...
Guss's user avatar
  • 159
0 votes
1 answer
102 views

Install WordPress MU outside htdocs

I would like to use WP's MU function to host multiple blogs on the same hosting. I intend to use the Domain Mapping plugin to make it work with different vhosts. My hosting structure is as follows : ...
Sebastien's user avatar
  • 143
0 votes
1 answer
90 views

two sites, same code, different presentation

I have created two web sites. One is "production" and the other "dev". Each is a virtual host and both are on a single server running apache. Both sites are loaded with the same code base: WP 3.5.1, a ...
Mophilly's user avatar
1 vote
1 answer
4k views

HTTP_HOST changing in functions.php

I have getting variable results from the $_SERVER['HTTP_HOST'] variable in the functions.php file of our child theme. We are running WordPress 3.5.2 on NGINX with PageLines 2.4 as our parent theme ...
Robert's user avatar
  • 23
1 vote
1 answer
1k views

Conflict with wp_homeurl, wp_siteurl and admin interface settings

I'm starting wordpress development, and learning the platform. Now I'm stuck with a strange issue. I have created a virtual host configuration that works as expected. I'm using xip.io for dns ...
iki_xx's user avatar
  • 123
0 votes
0 answers
4k views

Configure VirtualHost for a perfect Wordpress Environment

I'm trying to install wordpress in a Cloud Server with rackspace. But my lack of knowledge in server configuration (LAMP , etc) is making me do a lot of miss configurations . First I think the ....
Locke's user avatar
  • 17
2 votes
1 answer
82 views

How can I fix a Virtual Multiblog install that has no errors, but won't show all my sites?

I've been using Stephen Rider's Virtual Multiblog system for WordPress for a while now, and recently, I decided to add one more blog to my existing batch of three. The difference was, while all my ...
Azurite's user avatar
  • 31
3 votes
2 answers
915 views

root-relative links for multiple parked domains

I have five domains pointing to the same server/wp installation. the domain names are important and my visitors need to be able to stay on their preferred domain as they surf through my site. how do ...
Gregory's user avatar
  • 569
3 votes
1 answer
1k views

Using separate Apache log files for multisite

A while back I left Blogger and downloaded my blogs to my system. I hosted them there with each individual blog as a VirtualHost for a while. Later, I imported them into WordPress and am hosting them ...
Synetech's user avatar
  • 321
2 votes
3 answers
8k views

Rewrite-Rules not working on a vhost, everything goes to index.php

after setting up the wordpress htaccess rules in my vhost, i was unable to enter the wp-admin area. I was always redirected to the frontpage of my wordpress instance. The rewriting itself worked on ...
Sam's user avatar
  • 197
0 votes
2 answers
474 views

Moving wordpress multi to different domain and vhost - cannot log in and menu problems

I am trying to move a wordpress multi install to a different vhost on the same server and a different domain. Currently we are testing the process by copying everything to a new vhost, with a new ...
Purcell's user avatar
  • 390
0 votes
1 answer
331 views

mamp pro virtual hosts with wordpress

So I'm using MAMP PRO, to have a better vhost utility. Ok. I've got serious problems with wordpress. I successfully done this: pointed a vhost reghellin.unbit.it to: /Users/stratboy2/Documents/01-...
Luca Reghellin's user avatar
0 votes
1 answer
704 views

Getting WordPress to work inside a rails 3 application

I am migrating an existing WordPress blog into a subdirectory of a new rails 3 app (deployed on Apache2 / Ubuntu 10). I have PHP/MySQL installed, and I have a standard rails app folder structure in ...
user avatar
0 votes
3 answers
3k views

Wordpress MU subdomain vhost

Ok so i have my mu setup with subdomains and need a subdomian to point to a different path. My issue is when i add the vhost file it loads before wordpress and loads it path for everything that does ...
xLRDxREVENGEx's user avatar