How to host wordpress website on a separate server (Path in subdirectory)Using nginx + wordpress with all wordpress files in a subdirectoryWordpress blog website apache and IIS subdirectoryLAMP server (for wordpress blog) setup with APC caching and CDN, Good?Can I use Varnish to front 2 different services from different servers on 1 domain?HOWTO run Wordpress site along with Tomcat web aplication on the same serverNginx + Wordpress in subdirectoryAmazon route 53 + cloudfront + s3 -> with angularjs2 app in ec2Scaling a single WordPress website via AWS/EC2nginx wordpress subdirectory installationNginx giving 403 errors for some files

Does a 3rd-level Wolf Totem barbarian get advantage against enemies when an ally is within 5 feet of the enemy?

How did they achieve the Gunslinger's shining eye effect in Westworld?

Does the mixture and throttle setting affect the quality of priming of fuel prior to start?

Is there a word for a man who behaves like a woman?

Defining qubit operator from scratch

How can drunken, homicidal elves successfully conduct a wild hunt?

Should I give professor gift at the beginning of my PhD?

Average spam confidence

Example of non-trivial functors

C++ compiler optimization of unused string

Different pedals/effects for low strings/notes than high

Why was the calendar not arranged so that Yom Kippur never falls on Shabbat?

When conversion from Integer to Single may lose precision

How to officially communicate to a non-responsive colleague?

How Can I Tell The Difference Between Unmarked Sugar and Stevia?

My coworkers think I had a long honeymoon. Actually I was diagnosed with cancer. How do I talk about it?

Can you really not move between grapples/shoves?

Do any instruments not produce overtones?

The eyes have it

Illustrator CC 2019 No canvas in new file

Is this a rational use of the haveibeenpwned passwords list?

How would a aircraft visually signal in distress?

How much salt (or any other substance one can find in a kitchen) do I need to add to make water boil at 104 °C?

Is it possible to 'live off the sea'



How to host wordpress website on a separate server (Path in subdirectory)


Using nginx + wordpress with all wordpress files in a subdirectoryWordpress blog website apache and IIS subdirectoryLAMP server (for wordpress blog) setup with APC caching and CDN, Good?Can I use Varnish to front 2 different services from different servers on 1 domain?HOWTO run Wordpress site along with Tomcat web aplication on the same serverNginx + Wordpress in subdirectoryAmazon route 53 + cloudfront + s3 -> with angularjs2 app in ec2Scaling a single WordPress website via AWS/EC2nginx wordpress subdirectory installationNginx giving 403 errors for some files






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








0















I have an e-commerce website and a blog, both under same domain. Let's assume



  • www.xyz.com (Ecommerce Website - Built in Java - Used tomcat as Servlet Container)

  • www.xyz.com/blog (Wordpress blog)

I am using Nginx as a proxy web server. For all requests starting with /blog are passed to wordpress directly, rest other requests are handled by tomcat. My webserver is AWS EC2 running Ubuntu as OS.



I am looking to remove wordpress website from this server and host it somewhere else, maybe a separate EC2 or a lightsail server. But I want to keep the same subdirectory structure for blog. Any inputs, how can I make it possible?










share|improve this question

















  • 1





    If you are already proxying the requests to WordPress you only need to change the target in the proxy configuration.

    – Gerald Schneider
    May 21 at 8:28











  • @GeraldSchneider Is it possible to target to a different server altogether without changing url through nginx?

    – Abhi
    May 21 at 8:29






  • 1





    You can proxy to anything you like, anywhere, using Nginx.

    – Tim
    May 21 at 19:28

















0















I have an e-commerce website and a blog, both under same domain. Let's assume



  • www.xyz.com (Ecommerce Website - Built in Java - Used tomcat as Servlet Container)

  • www.xyz.com/blog (Wordpress blog)

I am using Nginx as a proxy web server. For all requests starting with /blog are passed to wordpress directly, rest other requests are handled by tomcat. My webserver is AWS EC2 running Ubuntu as OS.



I am looking to remove wordpress website from this server and host it somewhere else, maybe a separate EC2 or a lightsail server. But I want to keep the same subdirectory structure for blog. Any inputs, how can I make it possible?










share|improve this question

















  • 1





    If you are already proxying the requests to WordPress you only need to change the target in the proxy configuration.

    – Gerald Schneider
    May 21 at 8:28











  • @GeraldSchneider Is it possible to target to a different server altogether without changing url through nginx?

    – Abhi
    May 21 at 8:29






  • 1





    You can proxy to anything you like, anywhere, using Nginx.

    – Tim
    May 21 at 19:28













0












0








0








I have an e-commerce website and a blog, both under same domain. Let's assume



  • www.xyz.com (Ecommerce Website - Built in Java - Used tomcat as Servlet Container)

  • www.xyz.com/blog (Wordpress blog)

I am using Nginx as a proxy web server. For all requests starting with /blog are passed to wordpress directly, rest other requests are handled by tomcat. My webserver is AWS EC2 running Ubuntu as OS.



I am looking to remove wordpress website from this server and host it somewhere else, maybe a separate EC2 or a lightsail server. But I want to keep the same subdirectory structure for blog. Any inputs, how can I make it possible?










share|improve this question














I have an e-commerce website and a blog, both under same domain. Let's assume



  • www.xyz.com (Ecommerce Website - Built in Java - Used tomcat as Servlet Container)

  • www.xyz.com/blog (Wordpress blog)

I am using Nginx as a proxy web server. For all requests starting with /blog are passed to wordpress directly, rest other requests are handled by tomcat. My webserver is AWS EC2 running Ubuntu as OS.



I am looking to remove wordpress website from this server and host it somewhere else, maybe a separate EC2 or a lightsail server. But I want to keep the same subdirectory structure for blog. Any inputs, how can I make it possible?







nginx amazon-web-services amazon-ec2 wordpress






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked May 21 at 8:26









AbhiAbhi

2611414




2611414







  • 1





    If you are already proxying the requests to WordPress you only need to change the target in the proxy configuration.

    – Gerald Schneider
    May 21 at 8:28











  • @GeraldSchneider Is it possible to target to a different server altogether without changing url through nginx?

    – Abhi
    May 21 at 8:29






  • 1





    You can proxy to anything you like, anywhere, using Nginx.

    – Tim
    May 21 at 19:28












  • 1





    If you are already proxying the requests to WordPress you only need to change the target in the proxy configuration.

    – Gerald Schneider
    May 21 at 8:28











  • @GeraldSchneider Is it possible to target to a different server altogether without changing url through nginx?

    – Abhi
    May 21 at 8:29






  • 1





    You can proxy to anything you like, anywhere, using Nginx.

    – Tim
    May 21 at 19:28







1




1





If you are already proxying the requests to WordPress you only need to change the target in the proxy configuration.

– Gerald Schneider
May 21 at 8:28





If you are already proxying the requests to WordPress you only need to change the target in the proxy configuration.

– Gerald Schneider
May 21 at 8:28













@GeraldSchneider Is it possible to target to a different server altogether without changing url through nginx?

– Abhi
May 21 at 8:29





@GeraldSchneider Is it possible to target to a different server altogether without changing url through nginx?

– Abhi
May 21 at 8:29




1




1





You can proxy to anything you like, anywhere, using Nginx.

– Tim
May 21 at 19:28





You can proxy to anything you like, anywhere, using Nginx.

– Tim
May 21 at 19:28










0






active

oldest

votes












Your Answer








StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "2"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f968183%2fhow-to-host-wordpress-website-on-a-separate-server-path-in-subdirectory%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes















draft saved

draft discarded
















































Thanks for contributing an answer to Server Fault!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f968183%2fhow-to-host-wordpress-website-on-a-separate-server-path-in-subdirectory%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

How to write a 12-bar blues melodyI-IV-V blues progressionHow to play the bridges in a standard blues progressionHow does Gdim7 fit in C# minor?question on a certain chord progressionMusicology of Melody12 bar blues, spread rhythm: alternative to 6th chord to avoid finger stretchChord progressions/ Root key/ MelodiesHow to put chords (POP-EDM) under a given lead vocal melody (starting from a good knowledge in music theory)Are there “rules” for improvising with the minor pentatonic scale over 12-bar shuffle?Confusion about blues scale and chords

What if the end-user didn't have the required library?What is setup.py?What is a clean, pythonic way to have multiple constructors in Python?What does Ruby have that Python doesn't, and vice versa?What is the reason for having '//' in Python?How do I create a namespace package in Python?How to package shared objects that python modules depend on?setuptools vs. distutils: why is distutils still a thing?Navigation in Windows 10 vs code not going to virtualenv library when the same library is installed at user levelPython create package for local usePackaging a project that uses multiple python versionsWhy is permission denied on pip install except for when “--user” is included at end of command?

Esgonzo ibérico Índice Descrición Distribución Hábitat Ameazas Notas Véxase tamén "Acerca dos nomes dos anfibios e réptiles galegos""Chalcides bedriagai"Chalcides bedriagai en Carrascal, L. M. Salvador, A. (Eds). Enciclopedia virtual de los vertebrados españoles. Museo Nacional de Ciencias Naturales, Madrid. España.Fotos