[Geoserver-users] Geoserver 2.1.4 - change IP

hi

I make request to my geoserver 2.1.4 (on ubuntu)

http://wms.mydomain.com/?SERVICE=WMS&REQUEST=GetCapabilities

but in response i get some bad url do resurce

<OnlineResource xlink:type="simple"
xlink:href="http://10.0.0.49:8080/geoserver/ows?SERVICE=WMS&&quot;/&gt;

why is is not

<OnlineResource xlink:type="simple"
xlink:href="http://wms.mydomain.com?SERVICE=WMS&&quot;/&gt;

where can i change this local ip to public ip?