setting web address

Discussion in 'Apache' started by tllcll, Oct 12, 2006.

  1. #1
    Hi,

    I have installed apache/tomcat and import the war file. I have tried to run using localhost:8081, it is working...

    My server have another web server runnning on port 8080 with address eg.. www.abc111.com. (this will go to the index page of that web app)

    What do I need to set to make it able to display/run the webpage from address eg... www.abc.com111.com/aaa?
     
    tllcll, Oct 12, 2006 IP
  2. ThomasNederman

    ThomasNederman Peon

    Messages:
    112
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #2
    hmm, why are you not using port 80 as every other host ?

    if you use NameVirtualHost xx.xx.xx.xxx:80 then
    <VirtualHost xxx.xx.xx.xxx:80>

    you can have as many domains you like on port 80 .

    you can not make the above without using port 80 since this is standard

    you could install a rewrite on port 80, redirecting every request to port 8081, but i would not say this is a good idea.
     
    ThomasNederman, Oct 12, 2006 IP