On host B I have
https://mydomain1.com/wp-admin
and
https://mydomain2.com/wp-admin
If I type in the ip address of host A to edit a site https://192.168.16.100/wp-admin I’m unable to specify mydomain1 or mydomain2. If I edit a site by url then I don’t know if I’m getting host A or host B.
Thanks!
The inconvenience with this is that each WP installed site is reached by the browser as a subfolder rather than by its canonical url eg, www.example.com/site rather than www.example.com
In the Apache config file we have “Alias /site /etc/path/to/wp”.
What directive can be added to example.com.conf to allow browsers to use www.example.com and be redirected to www.exampke.com/site?
I don’t want to use a php redirect in www.example.com/index.php in the document root at /var/www/example.com to achieve that.
Thanks.
]]>I guess this is sort of a “generic” question – When setting up WordPress as I’ve described, do one *need* to create a virtual host entry (or is there an advantage to doing so?) in order to access the site, or is the NAT connection all I really need?
This is my first WordPress site on one of my servers, so I welcome your feedback, suggestions, etc.
Thank you,
Ed
My hosts file contains this:
127.0.0.1 mysite.me
and httpd-vhosts.conf contains this:
<VirtualHost *:80>
ServerName mysite.me
ServerAlias www.mysite.me
DocumentRoot “C:/xampp/apps/wordpress/htdocs”
Include “C:/xampp/apps/wordpress/conf/httpd-app.conf”
</VirtualHost>
When I enter the local domain name in a browser, mysite.me changes to mysite.me/wordpress/ where I see the frontend of my wordpress installation. This doesn’t make sense to me, since the root of WordPress is at htdocs
How can I get rid of /wordpress/ in the URL?
]]>`[2017-07-10 14:27:11] [class-ss-plugin.php:232] Received request to start generating a static archive
[2017-07-10 14:27:11] [class-ss-archive-creation-job.php:61] Starting a job; no job is presently running
[2017-07-10 14:27:11] [class-ss-archive-creation-job.php:62] Here’s our task list: setup, fetch_urls, transfer_files_locally, wrapup
[2017-07-10 14:27:11] [class-ss-archive-creation-job.php:76] Pushing first task to queue: setup
[2017-07-10 14:27:11] [class-ss-archive-creation-job.php:105] Current task: setup
[2017-07-10 14:27:11] [class-ss-archive-creation-job.php:120] Performing task: setup
[2017-07-10 14:27:11] [class-ss-task.php:38] Status message: [setup] Setting up
[2017-07-10 14:27:11] [class-ss-setup-task.php:23] Creating archive directory: /tmp/simply-static-1-1499696831/
[2017-07-10 14:27:11] [class-ss-setup-task.php:57] Adding origin URL to queue: https://spiceoddity.com/
[2017-07-10 14:27:11] [class-ss-setup-task.php:68] Adding additional URL to queue: https://spiceoddity.com/wp-includes/js/wp-emoji-release.min.js
[2017-07-10 14:27:11] [class-ss-setup-task.php:99] Adding files from directory: /var/www/spiceoddity.com/spiceoddity.com/wp-content/uploads/(… long list of images…)
[2017-07-10 14:27:13] [class-ss-archive-creation-job.php:142] We’ve found our next task: fetch_urls
[2017-07-10 14:27:13] [class-ss-archive-creation-job.php:105] Current task: fetch_urls
[2017-07-10 14:27:13] [class-ss-archive-creation-job.php:120] Performing task: fetch_urls
[2017-07-10 14:27:13] [class-ss-fetch-urls-task.php:37] Total pages: ; Pages remaining:
[2017-07-10 14:27:13] [class-ss-task.php:38] Status message: [fetch_urls] Fetched 0 of 0 pages/files
[2017-07-10 14:27:13] [class-ss-archive-creation-job.php:142] We’ve found our next task: transfer_files_locally
[2017-07-10 14:27:13] [class-ss-archive-creation-job.php:105] Current task: transfer_files_locally
[2017-07-10 14:27:13] [class-ss-archive-creation-job.php:120] Performing task: transfer_files_locally
[2017-07-10 14:27:13] [class-ss-transfer-files-locally-task.php:64] Total pages: ; Pages remaining: 0
[2017-07-10 14:27:13] [class-ss-task.php:38] Status message: [destination_url] Destination URL: <a href=”https://static.spiceoddity.com/” target=”_blank”>https://static.spiceoddity.com/</a>
[2017-07-10 14:27:13] [class-ss-archive-creation-job.php:142] We’ve found our next task: wrapup
[2017-07-10 14:27:13] [class-ss-archive-creation-job.php:105] Current task: wrapup
[2017-07-10 14:27:13] [class-ss-archive-creation-job.php:120] Performing task: wrapup
[2017-07-10 14:27:13] [class-ss-wrapup-task.php:13] Deleting temporary files
[2017-07-10 14:27:13] [class-ss-task.php:38] Status message: [wrapup] Wrapping up
[2017-07-10 14:27:13] [class-ss-archive-creation-job.php:138] This task is done and there are no more tasks, time to complete the job
[2017-07-10 14:27:13] [class-ss-archive-creation-job.php:161] Completing the job
[2017-07-10 14:27:13] [class-ss-archive-creation-job.php:271] Status message: [done] Done! Finished in 00:00:02`
Did anyone face the same problem, and has anybody been able to solve it?
Thanks in advance,
S.
Ran into an error:
ERROR: You cannot install a network of sites with your server address.
You cannot use port numbers such as :8888.
Read through many forums and it let me to create a Virtual Host, editing several files, and changing my Apache Port to 80. Anyways, after all of this it worked and I’m able to run my MultiSite WP Site.
Everything is good right?
Except my previous local sites don’t work
After implementing the Virtual Host the old sites don’t start.
What do I have to configure or change on the old sites for them to load?
Hoping this is an easy thing like editing the wp-config file or something.
Any ideas?
]]>