473,394 Members | 1,700 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

how to redirect different domains to my website

254 100+
Hi

I want to redirect different domains which I have to my newly created website using dotnetnuke. As it is currently working on this site bytes.com(when user type thescripts.com it redirects user to bytes.com)
Jun 15 '10 #1
2 1469
Niheel
2,460 Expert Mod 2GB
We are using an apache redirect.

If you are using Apache it's easy to setup.

Create a .htaccess file with the following,
Expand|Select|Wrap|Line Numbers
  1. Options +FollowSymLinks 
  2. RewriteEngine on
  3.  
  4. RewriteCond %{HTTP_HOST} ^www.olddomain.com$ [NC]
  5. RewriteRule ^(.*)$ http://www.newdomain.com/$1 [R=301,L]
Jun 15 '10 #2
Frinavale
9,735 Expert Mod 8TB
I don't know the answer to this but Kub has the right idea...he's just using the wrong web server technology as an example :)

You will need to configure your IIS server to redirect all incoming requests to your old domain to your new domain.

-Frinny
Jun 21 '10 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: WeAreGoing! | last post by:
Hello. I need to transfer an MD5 digest number between two pages on different domains. I know this is generally not possible, but I have full access on one domain and can insert Javascript at...
1
by: barbaraJacob | last post by:
Hi everyone! Must deliver my project tomorrow....It's nearly finished. I've set up a website to be published in 3 different domains. - same webserver (I mean physically the same machine) -...
0
by: Ramkrishna Kulkarni | last post by:
Hi, We are using UploadData method of WebClient class in C# to establish connection(s) between two machines(typical client/server). Connection is established if the machines are on same domain. If...
4
by: Ian | last post by:
Can anyone help I have a web server on the internet with and ASP.NET application on it, the application is set to allow Anonymous Access and Integrated Windows. The Web.config is set to use...
2
by: Trevor Oakley | last post by:
I have written an account/cart/search facility at redburg.co.uk and now I need to implement it elsewhere, eg at safavid.co.uk. The closest parallel solution I can think of is a Java Package which...
3
by: glezaber | last post by:
Hi, I´ve two websites stored in IIS 5.0, and what I want is to Redirect from A website to B website, the problem is that doesn´t work because if I use Response.Redirect (http://localhost:5080)...
2
by: Josef Meierhofer | last post by:
Hi everybody, there are several SQL-Server 2000 databases within a company located on different servers in different domains. On every database you can find the same table X. I want to merge...
1
by: timmmahh | last post by:
I want to use the new encryption capabilities in .NET 2.0 remoting (e.g using the secure attribute). I've got my demo to work on a single and multiple server deployment in the same domain, but...
5
by: waqasahmed996 | last post by:
How to manage different language website according to the search engine optimization. Is it easy? If have any idea then please share me. currently i manage languages with session. That's why url's...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.