DNS or Apache?
am 15.10.2007 16:56:33 von Hans-Peter Sauer
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?
Re: DNS or Apache?
am 15.10.2007 17:02:40 von Jim Hayter
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.
Re: DNS or Apache?
am 15.10.2007 17:21:55 von Hans van Zijst
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?
>
>
Re: DNS or Apache?
am 15.10.2007 17:37:46 von Hans-Peter Sauer
"Hans van Zijst" 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?
Re: DNS or Apache?
am 15.10.2007 17:45:57 von Hans van Zijst
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?
>
>
Re: DNS or Apache?
am 15.10.2007 17:48:11 von Jim Hayter
voutesfloir@hotmail.com wrote:
> "Hans van Zijst" 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?
>
>
You appear to be using windows. The following tools should tell you
what IP address a name resolves to:
nslookup
tracert
ping -a
Re: DNS or Apache?
am 16.10.2007 07:25:27 von Charles Crume
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/KnowledgeBase/script_view_ document.php?data_id=1109
https://secure.registerapi.com/KM/KnowledgeBase/script_view_ document.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" 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?
>
Re: DNS or Apache?
am 16.10.2007 09:25:53 von HansH
"Charles Crume" schreef in bericht
news:47145262$0$20631$4c368faf@roadrunner.com...
> "voutesfloir@hotmail.com" 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?
>
> 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/KnowledgeBase/script_view_ document.php?data_id=1109
> https://secure.registerapi.com/KM/KnowledgeBase/script_view_ document.php?data_id=763
Neither is available
HansH
Re: DNS or Apache?
am 16.10.2007 22:21:28 von Charles Crume
"HansH" wrote in message
news:471467fe$0$226$e4fe514c@news.xs4all.nl...
> "Charles Crume" schreef in bericht
> news:47145262$0$20631$4c368faf@roadrunner.com...
>> "voutesfloir@hotmail.com" 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?
>>
>> 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/KnowledgeBase/script_view_ document.php?data_id=1109
>> https://secure.registerapi.com/KM/KnowledgeBase/script_view_ document.php?data_id=763
> 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...
Re: DNS or Apache?
am 18.10.2007 01:28:42 von Charles Crume
"Charles Crume" wrote in message
news:47151d41$0$32496$4c368faf@roadrunner.com...
>
> "HansH" wrote in message
> news:471467fe$0$226$e4fe514c@news.xs4all.nl...
>> "Charles Crume" schreef in bericht
>> news:47145262$0$20631$4c368faf@roadrunner.com...
>>> "voutesfloir@hotmail.com" wrote in message
>>> news:13h6vt69to9nv56@corp.supernews.com...
>>>
>>> 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.
Right you are. I should have used:
www.YouDomainName.com CNAME YourDomainName.com
My bad on the typo.
Charles...