Close

Results 1 to 7 of 7
  1. #1
    DF VIP Member magic1's Avatar
    Join Date
    Feb 2001
    Location
    Westmidlands
    Posts
    387
    Thanks
    0
    Thanked:        0
    Karma Level
    324

    Default Redirect a domain name to your website.

    How can you configure a web server to "mirror" one domain name to another. For example, if my primary web site is www.magic1.com but also want a domain name www.best.com, how can you mirror the domain so both with go to the same website. ?
    ____________________________
    Beers on the house where are those ladders !!
    ____________________________

  2. #2
    DF VIP Member marcode's Avatar
    Join Date
    May 2001
    Location
    Satriale's
    Posts
    11,883
    Thanks
    7
    Thanked:        65
    Karma Level
    1287

    Default Re: Redirect a domain name to your website.

    you would direct best.com at either magic1.com or the ip address of your web server.

  3. #3
    DF VIP Member /dev/null's Avatar
    Join Date
    Feb 2004
    Location
    Behind You
    Posts
    2,952
    Thanks
    0
    Thanked:        0
    Karma Level
    450

    Default Re: Redirect a domain name to your website.

    Would the redirection work though for specific pages? Ie, if he had www.mysite.com/blah/mypage.html
    would going to www.yoursite.com/blah/mypage.html
    open the page or give a 404? Just a thought that rather than redirection, you may want to use the IP forwarding route as above.

  4. #4
    DF VIP Member tam9's Avatar
    Join Date
    Apr 2002
    Location
    The city of R
    Posts
    3,855
    Thanks
    2
    Thanked:        1
    Karma Level
    636

    Default Re: Redirect a domain name to your website.

    setup a redirect as marco says or just add a vhost and point it straight to it, assuming you are using apache.

    Find more about 'mirroring': http://www.apache.org/dev/mirror-guide-bodewig.html

  5. #5
    DF VIP Member bmuk's Avatar
    Join Date
    Nov 2002
    Location
    meh
    Posts
    387
    Thanks
    0
    Thanked:        0
    Karma Level
    285

    Default Re: Redirect a domain name to your website.

    you can either use some code as below to point address B back to address A (will also mask address bar)

    Code:
    <html>
    
            <head>
            <meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
            <title>dimebar.com</title>
            <noscript>
            <meta http-equiv="refresh" content="0;URL=**ADDRESSA**">
            </noscript>
            </head>
    
            <frameset rows="100%,*" cols="100%,*" frameborder="0" border="0" framespacing="0" border="0">
            <frame src="**ADDRESSA**" name="forwarder" frameborder="no" noresize scrolling="auto">
            </frameset>
    
            <noframes>
            <body onload="window.location='**ADDRESSA**';"></body>
            </noframes>
    </html>
    or, ideally, set the second domain up on the same name servers and a line in httpd.conf/IIS as per the above posts!!

  6. #6
    DF VIP Member Latic's Avatar
    Join Date
    Apr 2004
    Location
    England
    Posts
    613
    Thanks
    0
    Thanked:        10
    Karma Level
    290

    Default Re: Redirect a domain name to your website.

    The best way would be to park the domain.

    Its really easy with most hosting panels.

    Tell me what hosting panel your putting and i'll give you the full way to do it.

    I'd avoid redirects as they can hurt your search engine placements.

  7. #7
    DF VIP Member
    Realist's Avatar
    Join Date
    Jul 2001
    Posts
    5,321
    Thanks
    193
    Thanked:        733
    Karma Level
    673

    Default Re: Redirect a domain name to your website.

    Why dont you just use the facilities provided by the domain host, all have redirection facilities for users.

Similar Threads

  1. Great Domain name for sale
    By Terry Turbo in forum Hall Of Shame
    Replies: 21
    Last Post: 16th February 2004, 08:13 PM
  2. Cheapest website for Flash 2 Linker?
    By pfrench69 in forum Old Skool Gaming & Retro
    Replies: 6
    Last Post: 26th November 2002, 01:48 AM
  3. setting up a website
    By Danger Mouse in forum Web Hosting & Domain Names
    Replies: 7
    Last Post: 29th September 2002, 03:18 PM
  4. redirect question
    By Psychoschiz in forum Web Hosting & Domain Names
    Replies: 2
    Last Post: 26th September 2002, 04:09 PM

Social Networking Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •