Apache Server configuration support - DNS or Apache?

This is Interesting: Free IT Magazines  
Home > Archive > Apache Server configuration support > October 2007 > DNS or Apache?





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author DNS or Apache?
voutesfloir@hotmail.com

2007-10-15, 1:28 pm

I want both with and without the www to work.

I tried:

ServerName www.domain.com
ServerAlias domain.com

www.domain.com works but not domain.com.

Am i right in thinking this is a dns issue and not apache?


Jim Hayter

2007-10-15, 1:28 pm

voutesfloir@hotmail.com wrote:
> I want both with and without the www to work.
>
> I tried:
>
> ServerName www.domain.com
> ServerAlias domain.com
>
> www.domain.com works but not domain.com.
>
> Am i right in thinking this is a dns issue and not apache?
>
>


Yes. Make sure both names resolve to the same IP address.
Hans van Zijst

2007-10-15, 1:28 pm

Hi,

Sounds like a DNS problem indeed. Check if there is an A record for
domain.com. If there isn't, your browser can never send its request to
the server.

Regards,

Hans


voutesfloir@hotmail.com wrote:
> I want both with and without the www to work.
>
> I tried:
>
> ServerName www.domain.com
> ServerAlias domain.com
>
> www.domain.com works but not domain.com.
>
> Am i right in thinking this is a dns issue and not apache?
>
>

voutesfloir@hotmail.com

2007-10-15, 1:28 pm


"Hans van Zijst" <hzi@syncera.nl> wrote in message
news:47138594$0$22365$bf4948fe@news.tele2.nl...
> Hi,
>
> Sounds like a DNS problem indeed. Check if there is an A record for
> domain.com. If there isn't, your browser can never send its request to
> the server.
>
> Regards,
>
> Hans


Is there a lookup way online to check if domain.com has a A record?. Im
guessing not and i have to contact my isp?


Hans van Zijst

2007-10-15, 1:28 pm

You can check it locally. On Windows you should type (from a DOS box)
something like:

"nslookup domain.com"

On Linux (and probably most other UNIX-like OSes) you should be able to use:

"dig -t any domain.com"

If it resolves to an IP, check if it's the same IP as www.domain.com. If
it doesn't resolve, you found the problem.




voutesfloir@hotmail.com wrote:
>
> Is there a lookup way online to check if domain.com has a A record?. Im
> guessing not and i have to contact my isp?
>
>

Jim Hayter

2007-10-15, 1:28 pm

voutesfloir@hotmail.com wrote:
> "Hans van Zijst" <hzi@syncera.nl> wrote in message
> news:47138594$0$22365$bf4948fe@news.tele2.nl...
>
> Is there a lookup way online to check if domain.com has a A record?. Im
> guessing not and i have to contact my isp?
>
>


You appear to be using windows. The following tools should tell you
what IP address a name resolves to:
nslookup <name>
tracert <name>
ping -a <name>
Charles Crume

2007-10-16, 1:32 am

Hi;

I run my own webserver and have my domain names registered with
www.mydomain.com. They allow you to set-up and manage your own DNS records.
AFAIK, you must create both an A record and a CNAME record, as follows:

YourDomainName.com A 102.55.34.243 (your actual IP address)
www.YourDomainName.com CNAME 102.55.34.243

See these links for some details:

https://secure.registerapi.com/KM/K...hp?data_id=1109

https://secure.registerapi.com/KM/K...php?data_id=763

HTH.

Charles...

BTW, I do recommend www.mydomain.com for registering and managing your
domain names. Have been with them for years -- great prices and great
service (usually). They have a phone number, answer it in a reasonable
period of time, and have a *real* person you can talk to (although,
unfortunately, the last guy I spoke with was pretty much worthless in
helping me login to their site after installing spybot v1.5 -- had to bang
my head on the wall for a day or two).




"voutesfloir@hotmail.com" <me@privacy.net> wrote in message
news:13h6vt69to9nv56@corp.supernews.com...
>I want both with and without the www to work.
>
> I tried:
>
> ServerName www.domain.com
> ServerAlias domain.com
>
> www.domain.com works but not domain.com.
>
> Am i right in thinking this is a dns issue and not apache?
>



HansH

2007-10-16, 7:34 am

"Charles Crume" <NOccsSPAM@charlescrumesoftware.com> schreef in bericht
news:47145262$0$20631$4c368faf@roadrunne
r.com...
> "voutesfloir@hotmail.com" <me@privacy.net> wrote in message
> news:13h6vt69to9nv56@corp.supernews.com...
>
> I run my own webserver and have my domain names registered with
> www.mydomain.com. They allow you to set-up and manage your own DNS
> records. AFAIK, you must create both an A record and a CNAME record, as
> follows:
>
> YourDomainName.com A 102.55.34.243 (your actual IP address)
> www.YourDomainName.com CNAME 102.55.34.243

The righthand of a CNAME must NAME another resolvable host name alike
www.YourDomainName.com. CNAME YourDomainName.com.


> See these links for some details:
> https://secure.registerapi.com/KM/K...hp?data_id=1109
> https://secure.registerapi.com/KM/K...php?data_id=763

Neither is available

HansH


Charles Crume

2007-10-16, 7:24 pm


"HansH" <hansh@invalid.invalid> wrote in message
news:471467fe$0$226$e4fe514c@news.xs4all.nl...
> "Charles Crume" <NOccsSPAM@charlescrumesoftware.com> schreef in bericht
> news:47145262$0$20631$4c368faf@roadrunne
r.com...
> The righthand of a CNAME must NAME another resolvable host name alike
> www.YourDomainName.com. CNAME YourDomainName.com.
>
>
> Neither is available
>
> HansH

Hmmm... looks like you have to visit:

www.mydomain.com, place your mouse on the "support" link (near the upper
right hand corner), then click on "Knowledge Base" in the drop down menu.

Once the page appears, scroll down to the "Browse Our Answers By Category"
section and click on "DNS Management". It will expand to several subjects.
The ones I referred to are:

"DNS Management" (data_id = 1109 above)
"Why would I need DNS Management" (data_id = 763 above)

Let me know if this helps.

Charles...


Charles Crume

2007-10-17, 7:28 pm


"Charles Crume" <NOccsSPAM@charlescrumesoftware.com> wrote in message
news:47151d41$0$32496$4c368faf@roadrunne
r.com...[vbcol=seagreen]
>
> "HansH" <hansh@invalid.invalid> wrote in message
> news:471467fe$0$226$e4fe514c@news.xs4all.nl...

Right you are. I should have used:

www.YouDomainName.com CNAME YourDomainName.com

My bad on the typo.

Charles...


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2009 webservertalk.com