dns - How to help my client point a subdomain to my site? -


I am currently hosting content for a customer, I have a client subdomain "Promo.client1.com" is required to: "mysite.com/client1" so that the visitor can view the contents of my client's domain (I have a redirection can not use).

I wonder what I should do with my client.

I have been assured that this can be done through a record indicating my IP is it right? How can this be done?

Keeping in mind that you can not work as a redirect, you basically have two The options are: Proxy or DNS.

Using a proxy, your business partner can set a proxy that will interrupt the requests of the browser on your server. This concept is called and there are several documents about the implementation of one.

The second option is to set up a DNS entry that points to the entry of your domain to a particular address on your server.

You can either assign your partner's entry to a specific IP address, and then add a record to your dedicated special IP address in your DNS tables, such as this standard standard Format Format:

your-server.businessassociate.com IN A 1.1.1.1

Specify that 1.1.1.1 is the unique address you specify to the server The business partner's domain entry will answer your requests

Usra place your business partners will have to create a CNAME entry name refers to its server in your DNS tables. You should not already have another entry for a server, so CNAME is like an "alias" and after you make changes to your original DNS entry, the IP address of your original server name will reflect the change. Like this:

your-server.businessassociate.com IN CNAME your-server.your-domain.com

And then you have to do a virtual setup To handle server-server requests directed at your server-businessassociate.com, server running on your server- your-domain.com machine.

What you can not do through DNS is in your question: Promo.cluent1.com can never translate to mysite.com/client1 because DNS can not handle HTTP features, Such as what is after the slash. You can get similar results by establishing a virtual host on your HTTP server that internally re-writes your- server.businessassociate.com at mysite.com/client1, but you can either do virtual host or evenly Can not escape from installing.


Comments

Popular posts from this blog

import - Python ImportError: No module named wmi -

Editing Python Class in Shell and SQLAlchemy -

c# - MySQL Parameterized Select Query joining tables issue -