tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ken Bowen <kbo...@als.com>
Subject Re: address bar shows ip instead of domain name
Date Mon, 28 Jul 2008 22:12:21 GMT
Apply a rewrite filter (http://tuckey.org/urlrewrite/) to map the ip  
expression to what you want.

ken

On Jul 28, 2008, at 5:36 PM, nilanthan wrote:

>
> So what Can I do so that that domain goes to that address but shows  
> the
> domain in the address bar?
>
> Yuval Perlov wrote:
>>
>> Where ever you forward, that's what the address bar shows
>>
>>
>> On Jul 28, 2008, at 7:45 PM, nilanthan wrote:
>>
>>>
>>> Hi,
>>> I have a website hosted on netfirms. I have a domain,exmaple,
>>> mydomain.com
>>> and it forwards to an address http:/xx.xx.xxx.xx:8080/folder1/
>>> welcome.action
>>> where xx is the ip of the server.
>>>
>>> Im runningTomcat 5.5 alone without apache. The problem is that when
>>> a users
>>> goes to www.mydomain.com, it takes them to the site but in the
>>> address bar
>>> it shows http:/xx.xx.xxx.xx:8080/folder1/welcome.action instead of
>>> mydomain.com.
>>>
>>> Is this an issue with DNS or something in Tomcat? I will have
>>> multiple sites
>>> running in the future so I cannot place the site folder in the ROOT
>>> directory.
>>>
>>> Thanks.
>>> -- 
>>> View this message in context:
>>> http://www.nabble.com/address-bar-shows-ip-instead-of-domain-name-tp18694567p18694567.html
>>> Sent from the Tomcat - User mailing list archive at Nabble.com.
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To start a new topic, e-mail: users@tomcat.apache.org
>>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>>> For additional commands, e-mail: users-help@tomcat.apache.org
>>>
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To start a new topic, e-mail: users@tomcat.apache.org
>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
>>
>>
>
> -- 
> View this message in context: http://www.nabble.com/address-bar-shows-ip-instead-of-domain-name-tp18694567p18699993.html
> Sent from the Tomcat - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message