• Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
  • Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!

DNSy type question

Collapse
X
  •  
  • Filter
  • Time
  • Show
Clear All
new posts

    DNSy type question

    <disclaimer>I don't know much about DNS</disclaimer>

    I have a server running portal sites for various clients (or that is the way it is going to work). I did not want the client's Pk ID or name to be used in the URL.. So every portal shares the URL on a single server, like.

    www.server.com

    ..rather than..

    www.server.com

    ..or..

    www.server.com

    The client will have their own URLs.

    Client 1 which will map to www.client1.com/view/home and I am going to use an interceptor on each request to pick up client1 from the address, set a request/session variable and that can choose which content to grab.

    (just to add to the problem the server is not running on port 80).

    What would be the easiest way to work out this problem. What would be the best way to deal whis problem considering the server is ubuntu/tomcat? IS this a job for DNS or is there an easier way.

    Cheers

    #2
    What HTTP server are you using?

    If it's Apache, I imagine you could use mod_rewrite.
    Work in the public sector? Read the IR35 FAQ here

    Comment


      #3
      Using apache tomcat.

      I have worked on a tomcat project before where this has been done through pure apache but I never had anything to do with that bit.

      Tomcat can be used as a stand alone server or as a java module to apache, kind of want a to limit the processes. Used zonedit in the past but unsure if it can deal with non port 80 requests.

      Comment


        #4
        What control panel are you using? I just set this up in cpanel with add-on domains.

        Which usually ends up creating <VirtualHost> entries in the server config - if using Apache. AFAIK this can't be done with htaccess files. core - Apache HTTP Server
        McCoy: "Medical men are trained in logic."
        Spock: "Trained? Judging from you, I would have guessed it was trial and error."

        Comment

        Working...
        X