Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Networking & Security
  • Search

Website setup (networking related) [solved]

Having problems getting connected to the internet or running a server? Wondering about securing your box? Ask here.
Post Reply
Advanced search
11 posts • Page 1 of 1
Author
Message
vaguy02
Guru
Guru
User avatar
Posts: 424
Joined: Fri Feb 25, 2005 10:35 pm
Location: Hopefully in one place
Contact:
Contact vaguy02
Website

Website setup (networking related) [solved]

  • Quote

Post by vaguy02 » Tue Jun 17, 2008 7:11 pm

Currently I'm attempting to set up a website using a domain I just purchased. The server is a virtual instance of gentoo and is through a different company than the domain registration.

Server is online, I'm able to connect to the server using the externally facing IP address via SSH no problem there.

I'm experiencing the following issues:
1.)When I attempt to ping the domain, I get "could not find host". I've checked the domain registration people and I've pointed the domain to the external facing DNS servers of the server company. On the server companies DNS, I've created a A and CNAME record for the domain to the IP address.

2.)When starting apache2, I get an error about "could not reliably determine the server fully qualified domain name".

3.)Don't really know if this is a problem or not, but whenever I boot the virtual server it stays zeus.unknown_domain for the computer name at the login screen.

/etc/conf.d/net


config_eth0=(
"208.111.35.233 netmask 255.255.255.128 broadcast 208.111.35.255"
)
routes_eth0=("default via 208.111.35.129")
dns_domain_lo="togethermakesone.com"

/etc/hosts

127.0.0.1 localhost localhost.localdomain
208.111.35.233 zeus.togethermakesone.com

/etc/conf.d/hostname

HOSTNAME="zeus"
/etc/conf.d/domainname

DNSDOMAIN="togethermakesone.com"
I posted everything I could think of to help. If you need other config files, let me know.

Thanks,
Rob

P.S. - I think they are all kinda related that's why I put it all in one post.
Last edited by vaguy02 on Wed Jun 18, 2008 10:51 am, edited 1 time in total.
Linux Registered User #458185

Intel Quad-Core w/ 4gigs Ram w/ 8800 GTX - Windows 7 RC
2x (Intel Dual-Core w/ 2gigs Ram - Gentoo)
Mac G5 Dual-Core w/ 2gigs Ram - OS 10.5
Top
jtaylor72
Apprentice
Apprentice
User avatar
Posts: 197
Joined: Sun Feb 01, 2004 6:02 pm
Location: "the can", WA

  • Quote

Post by jtaylor72 » Tue Jun 17, 2008 8:30 pm

Here's where to start. The results from a DNS Report at dnsstuff.com produced the following errors:

------------------------
ERROR: You have one or more lame nameservers. These are nameservers that do NOT answer authoritatively for your domain. This is bad; for example, these nameservers may never get updated. The following nameservers are lame:
209.177.144.177
209.160.42.172

------------------------
ERROR: One or more of the nameservers listed at the parent servers are not listed as NS records at your nameservers. The problem NS records are:
ns1.vrdns.com.
ns2.vrdns.net.

--------------------------
Your DNS servers leak stealth information in non-NS requests:

Stealth nameservers are leaked [d.gtld-servers.net.]!
Stealth nameservers are leaked [e.gtld-servers.net.]!
Stealth nameservers are leaked [f.gtld-servers.net.]!
Stealth nameservers are leaked [g.gtld-servers.net.]!
Stealth nameservers are leaked [h.gtld-servers.net.]!
Stealth nameservers are leaked [i.gtld-servers.net.]!
Stealth nameservers are leaked [j.gtld-servers.net.]!
Stealth nameservers are leaked [k.gtld-servers.net.]!
Stealth nameservers are leaked [l.gtld-servers.net.]!
Stealth nameservers are leaked [m.gtld-servers.net.]!
Stealth nameservers are leaked [a.gtld-servers.net.]!
Stealth nameservers are leaked [b.gtld-servers.net.]!
Stealth nameservers are leaked [c.gtld-servers.net.]!

This can cause some serious problems (especially if there is a TTL discrepancy). If you must have stealth NS records (NS records listed at the authoritative DNS servers, but not the parent DNS servers), you should make sure that your DNS server does not leak the stealth NS records in response to other queries.

---------------------------
No valid SOA record came back:
com. is not togethermakesone.com.


It looks like your zone may not be setup properly.
Top
vaguy02
Guru
Guru
User avatar
Posts: 424
Joined: Fri Feb 25, 2005 10:35 pm
Location: Hopefully in one place
Contact:
Contact vaguy02
Website

  • Quote

Post by vaguy02 » Tue Jun 17, 2008 8:35 pm

Thank you very much for all the hard work investigating this. I didn't fully understand everything you said, but I got some of it. Here is how my DNS zone is set up on the server company's DNS.
SOA togethermakesone.com ns1.hostvirtual.com support@HOSTVIRTUAL.COM 1
NS togethermakesone.com ns1.hostvirtual.com
NS togethermakesone.com ns2.hostvirtual.com
NS togethermakesone.com ns3.hostvirtual.com
CNAME togethermakesone.com 208.111.35.233 Modify | Delete
CNAME zeus.togethermakesone.com 208.111.35.233 Modify | Delete
A togethermakesone.com 208.111.35.233 Modify | Delete
A zeus.togethermakesone.com 208.111.35.233 Modify | Delete
Linux Registered User #458185

Intel Quad-Core w/ 4gigs Ram w/ 8800 GTX - Windows 7 RC
2x (Intel Dual-Core w/ 2gigs Ram - Gentoo)
Mac G5 Dual-Core w/ 2gigs Ram - OS 10.5
Top
jtaylor72
Apprentice
Apprentice
User avatar
Posts: 197
Joined: Sun Feb 01, 2004 6:02 pm
Location: "the can", WA

  • Quote

Post by jtaylor72 » Tue Jun 17, 2008 8:52 pm

when I do a whois on your domain, it says the nameservers for it are:

Domain servers in listed order:
NS1.VRDNS.COM
NS2.VRDNS.NET


Also, you have some CNAME records pointing to IPs.

I would delete the two CNAME records you have. You could make

CNAME zeus.togethermakesone.com togethermakesone.com

since they are the same ip.
Top
vaguy02
Guru
Guru
User avatar
Posts: 424
Joined: Fri Feb 25, 2005 10:35 pm
Location: Hopefully in one place
Contact:
Contact vaguy02
Website

  • Quote

Post by vaguy02 » Tue Jun 17, 2008 9:01 pm

This is what I'm getting from the Support Center of that corp.
If you plan to manage your DNS via the vClient DNS management interface you should set your dns servers to:

NS1.HOSTVIRTUAL.COM
NS2.HOSTVIRTUAL.COM

For shared hosting and legacy zoneconfig.com customers our public dns servers are:

NS1.VRDNS.COM
NS2.VRDNS.NET
NS3.VRDNS.INFO

NOTE: The DNS servers above cannot be used as resolvers. If you are configuring a local system (virtual or colocated) you can use the following resolvers inside our network:

nameserver 209.177.144.50
nameserver 209.177.144.200

In your /etc/resolv.conf.
Updated Zone
Please set your domains DNS servers to: ns1.hostvirtual.com and ns2.hostvirtual.com in order to use this service.


SOA togethermakesone.com ns1.hostvirtual.com support@HOSTVIRTUAL.COM 1
NS togethermakesone.com ns1.hostvirtual.com
NS togethermakesone.com ns2.hostvirtual.com
NS togethermakesone.com ns3.hostvirtual.com
CNAME zeus.togethermakesone.com togethermakesone.com Modify | Delete
A togethermakesone.com 208.111.35.233 Modify | Delete
A zeus.togethermakesone.com 208.111.35.233 Modify | Delete
Sorry, for all the hand holding, but I'm completely lost at this point. haha.

EDIT - I've changed the Domain's DNS to resolve to ns1.hostvirtual.com and ns2.hostvirtual.com
Linux Registered User #458185

Intel Quad-Core w/ 4gigs Ram w/ 8800 GTX - Windows 7 RC
2x (Intel Dual-Core w/ 2gigs Ram - Gentoo)
Mac G5 Dual-Core w/ 2gigs Ram - OS 10.5
Top
zyko
l33t
l33t
User avatar
Posts: 620
Joined: Sun Jun 01, 2008 7:21 pm
Location: Munich, Germany

  • Quote

Post by zyko » Tue Jun 17, 2008 9:13 pm

1.)When I attempt to ping the domain, I get "could not find host". I've checked the domain registration people and I've pointed the domain to the external facing DNS servers of the server company. On the server companies DNS, I've created a A and CNAME record for the domain to the IP address.
Due to DNS-Caching it can take some time until your domain really resolves to your server's IP when you type it into your browser. I've seen it take more than 2 days in some unlucky cases. If you have net-dns/bind-tools installed, you can use dig to look up what your DNS server thinks about your domain.

Code: Select all

    % dig example.com

    ; < <>> DiG 9.2.1 < <>> example.com
    ;; global options: printcmd
    ;; Got answer:
    ;; ->>HEADER< <- opcode: QUERY, status: NOERROR, id: 37526
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 1

    ;; QUESTION SECTION:
    ;example.com. IN A

    ;; ANSWER SECTION:
    example.com. 3472 IN A 192.168.5.5
    ... 
The ANSWER SECTION shows the TTL (time to live, time until the DNS server will update its cache). In this case, 3472. So don't expect an update 'til the TTL runs out.
2.)When starting apache2, I get an error about "could not reliably determine the server fully qualified domain name".
Do you have the hostname set in apache's httpd.conf? It should have a line like this in it:

Code: Select all

hostname example.com
/edit: yeah, yeah, I know the term "DNS server" is a redundancy... :)
Top
vaguy02
Guru
Guru
User avatar
Posts: 424
Joined: Fri Feb 25, 2005 10:35 pm
Location: Hopefully in one place
Contact:
Contact vaguy02
Website

  • Quote

Post by vaguy02 » Wed Jun 18, 2008 12:06 am

The servername variable is already set in the 00_default_vhost.conf but I tried setting the hostname variable as you described in httpd.conf and it threw and error saying invalid command hostname in httpd.conf
Linux Registered User #458185

Intel Quad-Core w/ 4gigs Ram w/ 8800 GTX - Windows 7 RC
2x (Intel Dual-Core w/ 2gigs Ram - Gentoo)
Mac G5 Dual-Core w/ 2gigs Ram - OS 10.5
Top
vaguy02
Guru
Guru
User avatar
Posts: 424
Joined: Fri Feb 25, 2005 10:35 pm
Location: Hopefully in one place
Contact:
Contact vaguy02
Website

  • Quote

Post by vaguy02 » Wed Jun 18, 2008 1:23 am

Update:

Apache is now starting and running fine. I am able to hit the IP address of the server and get the default "It works!" page.

So all that's left is to get the actual DNS resolution working.

Thanks,
Rob
Linux Registered User #458185

Intel Quad-Core w/ 4gigs Ram w/ 8800 GTX - Windows 7 RC
2x (Intel Dual-Core w/ 2gigs Ram - Gentoo)
Mac G5 Dual-Core w/ 2gigs Ram - OS 10.5
Top
jtaylor72
Apprentice
Apprentice
User avatar
Posts: 197
Joined: Sun Feb 01, 2004 6:02 pm
Location: "the can", WA

  • Quote

Post by jtaylor72 » Wed Jun 18, 2008 5:21 am

It looks like everything is resolving, at least from opendns. I cannot get to your server though....but maybe it's down right now or something. Also, if you intend on having people go to www.togethermakesone.com, you'll need to add another CNAME:

CNAME www.togethermakesone.com togethermakesone.com
Top
xtz
Apprentice
Apprentice
User avatar
Posts: 181
Joined: Mon Oct 29, 2007 12:23 pm
Location: Singapore

Re: Website setup (networking related)

  • Quote

Post by xtz » Wed Jun 18, 2008 8:31 am

vaguy02 wrote:3.)Don't really know if this is a problem or not, but whenever I boot the virtual server it stays zeus.unknown_domain for the computer name at the login screen.

/etc/conf.d/net


config_eth0=(
"208.111.35.233 netmask 255.255.255.128 broadcast 208.111.35.255"
)
routes_eth0=("default via 208.111.35.129")
dns_domain_lo="togethermakesone.com"
Add dns_domain_eth0="togethermakesone.com"
vaguy02 wrote: /etc/hosts

127.0.0.1 localhost localhost.localdomain
208.111.35.233 zeus.togethermakesone.com
Remove the second line and change the first one to

Code: Select all

127.0.0.1 zeus.togethermakesone.com zeus localhost
Top
vaguy02
Guru
Guru
User avatar
Posts: 424
Joined: Fri Feb 25, 2005 10:35 pm
Location: Hopefully in one place
Contact:
Contact vaguy02
Website

  • Quote

Post by vaguy02 » Wed Jun 18, 2008 10:51 am

jtaylor72, Thank you very much for your help. I verified that the DNS resolution is resolving correctly. I am able to get to my website and I've added the CNAME record you specified. The reason you couldn't get to the server is that I have it firewalled off to the rest of the world until I'm ready to release the site, I only have my desktop IP address able to get through. I really appreciate all the hard work on this one.

Rob
Linux Registered User #458185

Intel Quad-Core w/ 4gigs Ram w/ 8800 GTX - Windows 7 RC
2x (Intel Dual-Core w/ 2gigs Ram - Gentoo)
Mac G5 Dual-Core w/ 2gigs Ram - OS 10.5
Top
Post Reply

11 posts • Page 1 of 1

Return to “Networking & Security”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic