LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-13-2012, 05:26 PM   #1
Basher52
Member
 
Registered: Mar 2004
Location: .SE
Distribution: Arch
Posts: 401

Rep: Reputation: 22
Question Domain name not working but has the correct IP when using 'whois'


This "error" I got is something I can't figure out.

I just got my DNS host to fix the the domain names so know they are pointing to the correct DNS's
and by that I can configure them and so I have.
By using a 'whois" I now can see that they all have the correct IP address,
eventhouh it took about 8 hours (and for me that is WAY to long).
There are 3 domain names ending with: '.se', '.nu' and '.com' and the ones working is: '.nu' and '.com'.

I still can't get to the webpage using '.se' and they are all configured to use the same and I can't even
get an IP when pinging.
Even if the webserver wouldn't be correctly setup, wouldn't I be able to see the IP address from a 'ping'?
At least that is what used to happen when I fiddle around on my test servers.

Another thing, the domain name in question is configured through 'ServerAlias' to a webpage that
originally is named something totally different but as it's very new and since the type of product is
almost the same I figured it'll be OK for now.
eg. (original data is masked. Hope I did that correctly)
Code:
Alias /product1 /web/html/product1.se
<Directory /web/html/product1.se/>
   order allow,deny
   allow from all
</Directory>

<VirtualHost *:80>
    ServerAdmin root@localhost
    DocumentRoot /web/html/product1.se
    ServerName product1.se
    ServerAlias www.product1.se
    ServerAlias product2.se www.product2.se
    ServerAlias product2.nu www.product2.nu
    ServerAlias product2.com www.product2.com
    ErrorLog logs/product1.se-error_log
    CustomLog logs/product1.se-access_log common
</VirtualHost>
What have I missed?
Also, how many 'ServerAlias' can you have in one Virtualhost? (Haven't found anything about this)
For me this is a DNS problem since I can't the the IP address when pinging.

Last edited by Basher52; 11-13-2012 at 05:29 PM.
 
Old 11-14-2012, 02:14 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Hi,

Quote:
Also, how many 'ServerAlias' can you have in one Virtualhost? (Haven't found anything about this)
For me this is a DNS problem since I can't the the IP address when pinging.
AFAIK you can have as many as ServerAlias directives you want. The only limit that exists, is that each one can't be longer than 8k
Regarding the vhost, I guess it's a dns problem too. Try to use dns tools to see how the domain in question is resolved. E.g:
Code:
dig product1.se
Regards
 
1 members found this post helpful.
Old 11-14-2012, 07:45 AM   #3
Basher52
Member
 
Registered: Mar 2004
Location: .SE
Distribution: Arch
Posts: 401

Original Poster
Rep: Reputation: 22
Today the '.se' works so I guess it was a DNS problem, but I've never seen such a slow DNS update, ever.


Thx for the answer though
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Correct Fix: httpd: Could not determine the server's fully qualified domain name.... austinium Linux - Server 5 03-28-2011 12:24 PM
Apache is not serving up the correct page for a sub domain. twisteguy22 Linux - Server 4 08-13-2010 12:16 PM
Ubuntu 8.04: Transparent proxy using squid working but block domain not working bleketux Linux - Networking 10 03-16-2009 06:41 AM
What is the correct file owner name for files under a domain jaguar356 Linux - Newbie 1 01-18-2006 01:16 PM
Traceroute, Ping, Domain Name Server (DNS) Lookup, WHOIS, and DNS Records Lookup netoknet General 1 05-09-2005 03:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:37 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration