Skip to content
PJG Creations Logo
  • Home
  • About Us
  • Blog
  • VB.Net Video Training
  • Contact Us

Redirecting .co.uk to .com with ASP.net MVC IIS7 URL ReWrite 2.0

I recently started work on a new website, where I’ve purchased the .co.uk and .info domain names. However, I wanted to redirect people automatically to the main .com domain. As my host supports the IIS7 URL ReWrite 2.0 module, adding the following section to the primary web.config file solved this for me;

By Peter Gallagher|2013-10-09T08:52:00+00:00October 9th, 2013|ASP.net, MVC, Visual Studio, Web, XML|0 Comments
Read More

Get Social

ABOUT US

PJG Creations creates bespoke desktop and web applications for companies across the country.

Specialising in converting outdated paper based or legacy software systems, to modern, database driven, process led applications.

Our latest Tweets

PJGCreations

- 5 days ago

RT @msdevUK: MS DevChats, where you get to ask our Microsoft MVPs your Dev questions. This month, @JessPWhite will be sharing her knowledg…
h J R
PJGCreations

- 17 days ago

RT @nottsiot: Join us tomorrow night from 18:30BST for two fab talks! We've got @DavideZordan talking about VR and AR for @dotnet devs. The…
h J R
PJGCreations

- 35 days ago

RT @dotnetnotts: Join us on Monday 28th from 18:30BST, where the fab @stephenhaunts will be showing us @dotnet devs how to write cross plat…
h J R
PJGCreations

- 38 days ago

RT @cinnamon_msft: We just added blink support to Windows Terminal Preview and I am super proud of these fireworks 😄🎆 https://t.co/Sfw0LDbO…
h J R
PJGCreations

- 40 days ago

RT @dotnetnotts: Join us 1 week today - Monday 28th Sept from 18:30BST, for an evening of Cross Platform Games dev using MonoGame and .NET…
h J R
Follow PJGCreations
Copyright 2017 PJG Creations Ltd | All Rights Reserved | Terms and Conditions
Toggle Sliding Bar Area
This site uses cookies: Find out more.