Java Mailing List Archive

http://www.apache-httpd.com/

Home » users.httpd »

Re: [users@httpd] Domain change to ip address after pag opens

Guilherme Raymo Longo

2012-01-24

Replies: Find Java Web Hosting

Author LoginPost Reply
My configuration file is like that:

<VirtualHost *:8082>
    DocumentRoot /var/www/mercadouniao.myftp.org/web
  
    ServerName mercadouniao.myftp.org
    ServerAlias mercadouniao.myftp.org
    ServerAdmin webmaster@mercadouniao.myftp.org

    ErrorLog /var/log/ispconfig/httpd/mercadouniao.myftp.org/error.log


and so on...

Is there somenthing I can do?


On Mon, Jan 23, 2012 at 6:57 PM, Eric Covener <covener@gmail.com> wrote:
On Mon, Jan 23, 2012 at 3:45 PM, Guilherme Longo
<grlongo.ireland@gmail.com> wrote:
>
>
> Hi mates,
>
> Is there a way to prevent the domain to change to the external ip address after the page is loaded.
>
> I have a no-ip subdomain  http://domain.myftp.org and my external ip is 201.201.201.201
> I also have a page hosted in my server that I can access through this subdomain
>
> What happens is when the page is loaded the subdomain changes to 201.201.201.201:8080
> How can I keep the http://domain.myftp.org in the browser?
>

Is your IP address in your configured ServerName?  You should use
whatever you want clients to use to reach you.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
  "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org




--
_________________________________


  Guilherme Longo
  msn: incorpnet1@hotmail.com

©2008 apache-httpd.com - Jax Systems, LLC, U.S.A.