Krzyserious
Krzyserious

Reputation: 364

Same domain for wordpress and asp.net mvc

Let's say I have domain "mysite.com". I want to go to wordpress site when I'm on "mysite.com" and do asp.net mvc when I'm on "mysite.com/app". Is it possible? (Hosting that I consider has iis and wordpress installed)

Upvotes: 0

Views: 586

Answers (2)

Manish Pushkar Jha
Manish Pushkar Jha

Reputation: 138

using windows IIS hosting you can get what you need.

Upvotes: 0

Brando Zhang
Brando Zhang

Reputation: 27997

Let's say I have domain "mysite.com". I want to go to wordpress site when I'm on "mysite.com" and do asp.net mvc when I'm on "mysite.com/app". Is it possible? (Hosting that I consider has iis and wordpress installed)

According to your description, I suggest you could consider using add nested web application inside the workpress IIS web site to achieve your requirement.

More details, you could refer to below steps:

1.Deploy your MVC application to your server by using web deploy

2.Right click the wordpress site and click add application inside the IIS

enter image description here

3.Type in app as the alias and select the MVC folder as the physical path

enter image description here

4.Click OK

Result:

enter image description here

Upvotes: 2

Related Questions