You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Kuznetsova Nina <ni...@ns.kinetics.nsc.ru> on 2003/01/31 05:49:58 UTC

[users@httpd] URL

Hi,all!
I am new in Apache.
I have a bit of a problem and I hope that you can help.

I want to put in URL " http://mydomain.com"  instead
"http://www.mydomain.com".

Any suggestions?

Thanks for your time.
                                                    Nina




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

Posted by Steven Pierce <pa...@speakeasy.net>.

You should have Apache answer to both www.mydomain.com and mydomain.com.
That way no matter what way someone goes to the site they will get it.

The way I understand it, is if you have it just mydomain.com and someone trys
to go to the site with www.mydomain.com it might not be listening for that
and give them a 404 page.



*********** REPLY SEPARATOR  ***********

On 1/31/2003 at 10:49 AM Kuznetsova Nina wrote:

>Hi,all!
>I am new in Apache.
>I have a bit of a problem and I hope that you can help.
>
>I want to put in URL " http://mydomain.com"  instead
>"http://www.mydomain.com".
>
>Any suggestions?
>
>Thanks for your time.
>                                                    Nina
>
>
>
>
>---------------------------------------------------------------------
>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


Re: [users@httpd] URL

Posted by Anthony Abby <an...@aplusdata.com>.
You are not wrong.  This is a DNS issue.


Nelson Goforth said:
> Nina,
>
> This is actually a question for your domain name server than for Apache
> (the list will correct me if I am wrong).
>
> Apache only controls what happens to a request after it arrives at your
> server.   What you want to do is to get the request to your server in
> the first place.
>
> Your domain name server (DNS) has set up an "A record" which tells the
> world that requests to "www.mydomain.com" should point to your
> particular IP address (like 255.255.255.255).  You need to ask them to
> also set up a "C Record" that tells the world that requests to
> "mydomain.com" should also point to "www.mydomain.com".
>
> The simple solution is to contact your server or host and ask them to
> set this up for you.
>
> If this is not clear, you can reply directly, since this is not an
> Apache topic.
>
> Regards,
> Nelson


--
Anthony Abby - http://www.aplusdata.com
Comic Book Community News        | Web Programming
Inventory and Management System  | Cold Fusion
                                   PHP & ASP



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

Posted by Nelson Goforth <ng...@earthnet.net>.
Nina,

This is actually a question for your domain name server than for Apache 
(the list will correct me if I am wrong).

Apache only controls what happens to a request after it arrives at your 
server.   What you want to do is to get the request to your server in 
the first place.

Your domain name server (DNS) has set up an "A record" which tells the 
world that requests to "www.mydomain.com" should point to your 
particular IP address (like 255.255.255.255).  You need to ask them to 
also set up a "C Record" that tells the world that requests to 
"mydomain.com" should also point to "www.mydomain.com".

The simple solution is to contact your server or host and ask them to 
set this up for you.

If this is not clear, you can reply directly, since this is not an 
Apache topic.

Regards,
Nelson

On Thursday, January 30, 2003, at 09:49  PM, Kuznetsova Nina wrote:

> Hi,all!
> I am new in Apache.
> I have a bit of a problem and I hope that you can help.
>
> I want to put in URL " http://mydomain.com"  instead
> "http://www.mydomain.com".
>
> Any suggestions?
>
> Thanks for your time.
>                                                     Nina
>
>
>
>
> ---------------------------------------------------------------------
> 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
>
>

          _________________________________________________
          Nelson GOFORTH 				Lighting for Moving Pictures
          +1.303.322.5042 				http://www.earthnet.net/~ngoforth/film


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

Posted by Nelson Goforth <ng...@earthnet.net>.
Nina,

There is a part of your question that DOES apply to Apache.

If your DNS was set up so that the A Record pointed "mydomain.com" to 
your IP address, then ALL requests to the IP address would go there and 
could be dealt with by Apache, and you could send different request to 
different areas using httpd.conf

But sometimes DNS records have been set specifically so that 
"www.mydomain.com" goes to the IP address, and all other forms of the 
request, like "mydomain.com" or "users.mydomain.com" are ignored.

But again, you need to talk to your server or host.

If you want to see the DNS records and settings that apply to your 
domain, try this site:

      http://www.nslookup.be/index.jsp

Nelson
          _________________________________________________
          Nelson GOFORTH 				Lighting for Moving Pictures
          +1.303.322.5042 				http://www.earthnet.net/~ngoforth/film


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

Posted by Jeff Cohen <ap...@gej-it.com>.
Hello Nina,

What IPs do you get when pinging mydomain.com and www.mydomain.com?
Where do you host your domain name?
If both IPs on both domains showing the same results, you can run the server
and it will serve correctly, otherwise you should be in touch with your
domain hostmaster to change the A record (www) to point to the same IP that
your domain is pointing to right now, or as a replacement to delete the www
A record.

All the best,
Jeff Cohen

> -----Original Message-----
> From: Kuznetsova Nina [mailto:nina@ns.kinetics.nsc.ru]
> Sent: Thursday, January 30, 2003 11:50 PM
> To: users@httpd.apache.org
> Subject: [users@httpd] URL
> 
> Hi,all!
> I am new in Apache.
> I have a bit of a problem and I hope that you can help.
> 
> I want to put in URL " http://mydomain.com"  instead
> "http://www.mydomain.com".
> 
> Any suggestions?
> 
> Thanks for your time.
>                                                     Nina
> 
> 
> 
> 
> ---------------------------------------------------------------------
> 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