Redirecting to the page based on the domain name

I have a domain main site it www.tesseract.co.uk with another domain www.tesseractusa.com pointing to it.
I would like the '.com' to have specific pages we visitors. I'm looking for a way to redirect to a specific page based on the domain name.

Hope you can give some advice.

Thank you
Richard

Dave,
Awesome, works perfectly!

First post you was right! I've slightly modified your script:

<%@LANGUAGE="VBSCRIPT"%>
< %="">< br="">sname = Request.ServerVariables("SERVER_NAME")% < br=""> sname = ucase (sname) < br=""> if InStr (sname, "WWW.TESSERACTUSA.COM") <> 0 THEN< br="" >="">
End If< br="" >="" %="">

I really, really appreciate help you.
Thank you
Richard

Tags: Dreamweaver

Similar Questions

  • I get a Script Error failed. I think it is because the domain name is on page 1 and the field with the calculation is on page 2.

    I get a Script Error failed. I think it is because the domain name is on page 1 and the field with the calculation is on page 2.

    The formula is just + Cash.  I don't know how to tell him to look on Page 1.  If I use the same domain on Page 1, the formula works so I know that this is not something in the name of the field.

    It received NO response

    Page1.cash should do it. If not, you can use CTRL + click to enter its name in your script.

    1. Select the field that you add the script.
    2. Scroll the design view until you can see the object whose name you need. (Is not necessary if the object is already in mode)
    3. Click inside the script window to place the cursor where you want the name of the other object.
    4. Hold down the CTRL key while clicking the object whose name you need.
  • Cannot add the domain name on the management page

    I bought the hair4specialevents.com domain to GoDaddy and also created a temporary site of the same name held in BC. I'm trying to take the direct site so that people can go to hair4specialevents.com (no need to enter the hair4specialevents.businesscatalyst.com).

    I finished the first part of the referral process to the servers of BC: the GoDaddy site I bought the domain name and he stressed the 15:00 name servers ns1.world... etc.

    Where I'm stuck, it's step 3 on the following page: Catalyst Business help | Change the domain name of your site

    Similar page, but I'm stuck on step is step 4: adding a domain name to your site and direct donor site

    , I clicked on the button manage in Muse who takes me to the main page of management BC for the site. I click on Site settings, click Site areas under him. But after I don't see any place to click on "New domain." I noticed that only two areas - areas worldsecuresystems.com and businesscatalyst.com.


    Why is there not a place where I can add hair4specialevents.com? The blue triangles next to 'A Records' etc don't anything even if looks like they should rotate down to reveal more information.

    It turns out that this is a problem with the Safari browser (or at least my version/settings). I have connected to the BC using Chrome, and then the "Add domain" button appeared.

    FYI if anyone else has problems, I am on Mac OS 10.9.5, Safari 7.1. But do not forget that the problem may be one of the preferences that I put in Safari...

  • Political DAP to check the domain name for MAC OS users!

    Hi all

    How can we configure DAP for Mac OS users, to allow access by the validation of the configuration of the domain name in the MacOS?

    I was able able to configure the same for Windows users by using the domain name 'Register' value in the DAP. However, as MacOS do not have to 'Register', I'm trying to find a solution on how would be the authorized user by looking at the entrance to domain somewhere in the MacOS.

    I heartily thank you &.

    Ameya diabate

    Registry check Looking for a registry key (Microsoft Windows only)
    File check Verification of a file
    Verification of the BONE Check the operating system
    Verification of certificate Verification of a certificate (Microsoft Windows only)
    IP address control Check the IP address of the interface
  • Why does my site work only without the www before the domain name?

    I recently spent Squarespace to Godaddy to host my must-see site.

    I just uploaded my new muse site and it works, except when I enter www before the domain name now, he pulls up to the old squarespace site.

    I need people to be directed to the new site that works, but only if I omit the www before the domain name.

    What is wrong here?

    How can I solve this problem?

    You should check the DNS settings of your host on your account manager. Have one with the www prefix and a normal root area is two separate things, although most of the suppliers will automatically record both variants. You may need to complete certain formalities to migrate your domain registration successfully.

    Mylenium

  • Error and pointing the domain name on business catalyst site.

    Hi guys I searched for a solution to this problem, but I can't really find a good answer. I'm relatively new to the website management just a heads.

    in any case, I have re-done recently the site for my business using Adobe Muse and we bought one of Adobe on BusinessCatalyst hosting plans. We already had a website hosted on Wix with the Verio domain name. We closed the Wix site has received and has changed the name of the server in Verio to point to the new site of catalyst for business, but every time I try and add the domain to the site I get an error message. It is said "error: domain name already exists." Please remove all records associated with that domain name before adding it again. "I thought he should have clear benn because we removed all Wix services and show name servers.

    Any help would be greatly appreciated! Thank you!

    That error means that the domain name is already in the system of catalysts for the company. Is it possible that you tried implementing a different Business Catalyst site with the domain name?

    I'm moving this thread on the forum of Business Catalyst for more detailed for you help.

  • separate the domain name e-mail form name

    Hello, I have a form of interactive report that has column e-mail. By default, the e-mail column is filled with [email protected]. Now, I need to show that to be like a.b (how to remove the domain name). How can I do?

    Thanks in advance.

    Alexander wrote:

    Hello, I have a form of interactive report that has column e-mail. By default, the e-mail column is filled with [email protected]. Now, I need to show that to be like a.b (how to remove the domain name). How can I do?

    Seriously? By applying some basic SQL functions. Change the e-mail column in the query of an alias column and the SQL expression as

    substr(email, 1, instr(email, '@') - 1) email

    or, if you want to burn some CPU, a regular expression is another way to do it:

    regexp_substr(email, '^[^@]*') email

  • Rookie here: I can't update the DNS where stands the domain name...

    Because of the e-mail the customer had set up with the domain provider and email that I have been informed that I cannot update the DNS without messing up the email. So I was in touch with them and they asked me for a registration number A, which they will add and it "will point" the domain name to Business Catalyst where the site is hosted.

    This all sounds great other that I don't know where to obtain registration from the site... I don't see where the ADD A Records... What I'm missing! Help, please

    A Record 2.jpgA Record.jpg

    Please follow these steps:

    -Remove the added domain

    -Add the domain as external

    -Use a record according to the location of the server:

    • Europe

      54.246.209.120 or
      54.246.209.119 or
      54.246.209.93

    • United States

      54.236.190.114 or
      54.236.189.64 or
      54.236.189.61

    • Australia

    • 54.252.148.183 or
      54.252.148.191 or
      54.252.148.134

    Thank you

    Sanjit

  • I made a Web site, and the domain name is tschantre with this special e (colleague). but it gives me an error, how can I handle this?

    How can I manipulate can I gibe the domain name with the e - any code? or something else?

    Could you please confirm, you get the error message and either when adding domain in the file > export to HTML or file > download on FTP host option or if there is another place, you are referring to?

    I checked and the export and download of FTP options both accept accented characters in the domain name field.

    See you soon,.

    Vikas

  • Getting the domain name of the computer Client using WebUtil

    Hi guys,.

    Is there a way I can find the domain name of the computer running the forms using webutil.

    I use WEBUTIL_CLIENTINFO. GET_HOST_NAME to get the client computer name. I also need the domain name.

    Thank you!
    Anand

    Try this:

    message(CLIENT_WIN_API_ENVIRONMENT.GET_ENVIRONMENT_STRING('USERDOMAIN'));
    

    I think that if no domain is defined, it returns the host name. In addition, this obviously won't work on Windows clients.

  • Hide the domain name PIA for the outside world

    I have an architecture where I encouraged candidates on the external Internet to the intranet.
    The architecture is-

    Internet https> Apache http> Weblogic-> server-> DB applications

    I use the domain name on the link to access the site:

    http:// < site > .com/PSC/ < domain_name > / applicant, HRMS, c, HRS_HRAM. HRS_CE. GBL

    I don't want the domain name "< real domain_name >" to appear in the URL. How the mask/hide it?

    It is a request of my client and I was wondering if this is possible. Please advice.
    THX/t

  • How to configure Apache to send the queries based on the domain name to the forms, www and Servlet directory?

    Hello

    I installed Oracle Forms 11.1.2.1.0 on a Linux server.

    This server will run a Forms application, a web site and a Servlet for a couple of unique clients.

    Each client accesses its own applications through its own domain name.

    For ex:

    http://Customer1.mydomain.com/forms/frmservlet?config=CUSTOMER1 -> Forwarding Port Weblogic 9001 (Forms)

    http://Customer1.mydomain.com/www -> Directory access... local/htdocs/customer1/www

    http://Customer1.mydomain.com/myservlet -> Weblogic 7101 port forwarding. This a new server created in the field of Weblogic to run Servlet. Each Servlet will be deployed with a specific context by customer: myservlet/customer1 /

    http://Customer2.mydomain.com/forms/frmservlet?config=CUSTOMER2 -> Forwarding Port Weblogic 9001 (Forms)

    http://Customer2.mydomain.com/www -> Directory access... local/htdocs/customer2/www

    http://Customer2.mydomain.com/myservlet -> Port forwarding Weblogic 7101 with PathPrepend: myservlet/customer2 /

    My idea is to configure the Apache Server using 1 VirtualHost by customer:

    < VirtualHost *: 80 >

    ServerName customer1.mydomain.com

    ServerAlias *. Customer1.mydomain.com

    DocumentRoot "/ u01/app/fmw/asinst_1/config/OHS/ohs1/htdocs/customer1/www.

    < /myservlet location >

    SetHandler weblogic-Manager

    WebLogicHost myhost

    7101 WebLogicPort

    PathPrepend /customer1

    < / location >

    < / VirtualHost >

    Is this a good approach?

    Can I place block < location > < VirtualHost > block?

    From what I've read on the web, it is the common way to request proxy based on URL.

    My first tests raised an error like: CONFIG_ERROR [line ap_proxy.cpp 1735]: 'WebLogicCluster' or 'WebLogicHost' specified in the parameters of

    That's why I wrote this question.

    Further more, can I add a specific redirect for forms inside the VirtualHost customer who will redirect

    http://Customer1.mydomain.com/forms -> Redirect to Weblogic Port 9001 (Forms) adding /frmservlet? config = CUSTOMER1 you URL?

    Thanks in advance.

    Your approach is correct, but there are a few details that need tweaking. Can take place inside VirtualHost. Have you enabled ability to host virtual by uncommentNameVirtualHost *:80 in httpd.conf?


  • How to remove the domain name automatically added to all external URLS on a simple Web page?

    I have spent a lot of time trying to solve this problem, but I can't find what to do for not having Dreamweaver of autocrat add my domain name in front of all external hyperlinks.

    IE: when I highlight text and add a hyperlink to another site, the URL is broken once the page is uploaded and instead of having the link points to www.whatever.com, I a mydomainname.com www.whatever.com.

    Ho can I fix this?

    For an external link, you must always add http:// or https:// at the beginning of the URL. If you just start with www.whatever... Dreamweaver, it will treat as internal linking.

  • Pointing the old domain name for the domain name

    I have two domain names that I used previously (name of the other company, different domain name) pointing to my current domain name. This was done in the belief that it would be bad for SEO to let them expire, because the content of the site was essentially the same for all three areas.

    My question is should I keep renewing these two previous areas forever, or else risk the consequences in the trail of a huge fall in SEO? Or is there a period of time that I can 'wean' my current domain of these previous areas and then stand on its own? I have been using the current domain for 3 years, others back to 2008 or more.

    Surely someone out there has experienced a similar situation if non-identiques.

    If the areas are important for the company (used in the print advertising for example) I would keep the. It can also be useful for tracking what gets the most use.

    Once the actual pages that the areas initially pointed are pulled down, it is doubtful that you would see no advantage in SEO. I don't think one second that several areas simply pointing to the same set of pages might give you a better ranking for a given search term or phrase. If that were the case, then the first result for every search should be site "little blue pill" a spammer with hundreds, if not thousands of domain names pointing to it.

    Everything I've seen from Google, I guess that once their caterpillars go to re - indexing the domain redirection and the end upward in the current domain, any provision of referencing of the content of the original site, links to the current site would be lost. I could be wrong, but logically, it makes sense, since it is so plus two sets of related content pointing to each other. It's just a site with several domain names.

  • Why is the domain name of the trial continues in places?

    Hello. My first post on the forums, but I've been hidden for a while.

    I have apparently successfully "gone live" by the transfer of my domain to GoDaddy.  Correctly, I can get directly, or by search engine.  Surprisingly, my made-up trial domain name always appears in at least one place--at the top of the content of the page the system 404 Page not found page.  I have not checked to see if it occurs with other pages in the system.

    The next page does not exist and properly raises the error 404:

    http://www.smartmedsavings.com/XYZ

    If you go to this page you will see "SmartGuyLearning" at the top of the page content.  It was my domain name to the stupid trial which should no longer be seen.

    I'd appreciate it if someone could tell me how I could change it appears correctly.

    Thanks for the help.

    Stephen

    Stephen,

    I see the question as the name of the site just needs to be updated.

    So I went ahead and update to "SmartMedSavings" which you should now see the site as needed.

    I hope this helps!

    -Sidney

Maybe you are looking for