You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Robin Corbo <rc...@csrvhr.com> on 2005/06/02 18:22:27 UTC

[users@httpd] Apache config question

Hello,

I have a small issue and tried searching for an answer but have had no luck, and hoping I can find some help here.


When I view my website (externally) using a web browser, I noticed that on the status bar (at the bottom of the web browser) the url being displayed is the actually ip address, instead of the domain name. Same goes for if I hover my mouse over any links, it will display the ip address as the url. 
My question is how do I set up the server so that the url displayed at the bottom is the domain name, instead of the ip address?

Here is my set up: 

 apache ver 2
windows 2000
I have a registered domain name and I am using the domain forwarding feature(which is my ip address and the port) 
My apache server is home based which is on a router,I am using the port forwarding feature on the router so that the request goes to the proper pc.


Thanks,
Robin


CONFIDENTIALITY NOTICE: This communication and any accompanying document(s) are confidential and privileged. They are intended for the sole use of the addressee. If you receive this transmission in error, you are advised that any disclosure, copying, distribution, or the taking of any action in reliance upon the communication is strictly prohibited. Moreover, any such inadvertent disclosure shall not compromise or waive any existing privilege as to this communication or otherwise.  If you have received this communication in error, please contact our office by email or by telephone at (954) 677-0202 and immediately delete all copies of this communication. Thank 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


Re: [users@httpd] Apache config question

Posted by Justin Gehring <ju...@jrcorps.com>.
Make sure your "ServerName" is set to your domain name not the IP address in
either your virtual host main server config in the httpd.conf file.

-----------------------------
--     Justin Gehring      --
--   PH: 651 - 208 -8797   --
--  EM: justin@jrcorps.com --
-----------------------------


Quoting Robin Corbo <rc...@csrvhr.com>:

> Hello,
>
> I have a small issue and tried searching for an answer but have had no luck,
> and hoping I can find some help here.
>
>
> When I view my website (externally) using a web browser, I noticed that on
> the status bar (at the bottom of the web browser) the url being displayed is
> the actually ip address, instead of the domain name. Same goes for if I hover
> my mouse over any links, it will display the ip address as the url.
> My question is how do I set up the server so that the url displayed at the
> bottom is the domain name, instead of the ip address?
>
> Here is my set up:
>
>  apache ver 2
> windows 2000
> I have a registered domain name and I am using the domain forwarding
> feature(which is my ip address and the port)
> My apache server is home based which is on a router,I am using the port
> forwarding feature on the router so that the request goes to the proper pc.
>
>
> Thanks,
> Robin
>
>
> CONFIDENTIALITY NOTICE: This communication and any accompanying document(s)
> are confidential and privileged. They are intended for the sole use of the
> addressee. If you receive this transmission in error, you are advised that
> any disclosure, copying, distribution, or the taking of any action in
> reliance upon the communication is strictly prohibited. Moreover, any such
> inadvertent disclosure shall not compromise or waive any existing privilege
> as to this communication or otherwise.  If you have received this
> communication in error, please contact our office by email or by telephone at
> (954) 677-0202 and immediately delete all copies of this communication. Thank
> 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
>
>



---------------------------------------------------------------------
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