basic rewrite instructions

Discussion in 'Install/Configuration' started by djsodom, Jan 13, 2007.

  1. djsodom

    djsodom New Member

    I've got my rails app running properly. I've got my domain pointing to my server. However, of course, I must type www.mydomain.com:8088 to access my app.

    I'm a little confused whether I write a rewrite rule or whether I can do as a context.

    Can someone provide a sample of how & where to set this up?

    thanks,

    Steve
  2. mistwang

    mistwang LiteSpeed Staff

    Don't know what you want exactly. :)
  3. djsodom

    djsodom New Member

    Sorry.

    What do I need to change to have when I type in www.mydomain.com it goes to my app at port 8088? Right now, if I type in www.mydomain.com, nothing is found "unable to establish a connection". However, if I type in www.mydomain.com:8088 then my app shows up.

    I'm thinking I have to write a rewrite rule to direct mydomain.com to port 8088.

    Steve
  4. mistwang

    mistwang LiteSpeed Staff

    You can just change the port number of the listener from 8088 to 80.
  5. djsodom

    djsodom New Member

    Easy enough. For education sake, can you provide an example of what I'd need to do if I wanted to point the domain to port 81 or 8088 instead of 80?

    Also let me ask a different question. If I want to redirect all visits to mydomain.com to www.mydomain.com, can you provide a sample rewrite?

    Thanks

    Steve

    Last edited: Jan 13, 2007

Share This Page