Parimal
Parimal

Reputation: 41

Run ASP.NET in wamp server

Is it possible to run an .aspx website in WAMP Server? If yes, then how do you do this? Please reply

Upvotes: 4

Views: 11908

Answers (1)

rightstuff
rightstuff

Reputation: 6522

It used to be possible to have Apache interface directly with the ASP.NET engine/system via mod_aspdotnet, but that module was abandoned some time ago.

The way you do this now is to have Apache be the front-end server (port 80) and have IIS be the back-end server (8080). Then use Apache's ProxyPass directive to proxy specific websites or URLs to IIS, which runs the ASP.NET code, and give the output back to Apache, which delivers it to the visitor/client.

It's not a bad option and works well.

You just have to make sure you're either running Apache and IIS on different IPs, or same IP but different Ports.

Upvotes: 6

Related Questions