You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Guilherme Longo <gr...@gmail.com> on 2012/01/23 21:45:58 UTC

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

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?

thanks a lot.
-- 
_________________________________


  Guilherme Longo
  msn: incorpnet1@hotmail.com

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

Posted by Guilherme Longo <gr...@gmail.com>.
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 <co...@gmail.com> wrote:

> On Mon, Jan 23, 2012 at 3:45 PM, Guilherme Longo
> <gr...@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

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

Posted by Eric Covener <co...@gmail.com>.
On Mon, Jan 23, 2012 at 3:45 PM, Guilherme Longo
<gr...@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