LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices



Reply
 
Search this Thread
Old 07-12-2007, 12:14 PM   #1
Jzarecta
Member
 
Registered: Dec 2005
Location: Villahermosa, Bucharest, Birminham, Brooklyn, Beverly
Distribution: Mandriva
Posts: 118

Rep: Reputation: 15
Configuring vhosts


So I am new to vhost, the Apache documentation makes it look oh so easy. So I decided to give it a try. I put some domains and run with it but I got a DNS error.

Should I need to previously enter this domains on my /etc/hosts and if so, should I disable squid too?
 
Old 07-12-2007, 01:45 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
DNS has nothing to do with virtual hosts. if you're having DNS issues, then it's your responsibility to fix that, as without that working apache is not going to be contacted at all. as you've guessed for a quick local hack, just add it to the hosts file. squid should have nothing to do with this either, as long as you don't use a proxy whilst testing. i'd suggest using the curl command line tool to check lower level web things out.
 
  


Reply

Tags
apache, hosts, httpd, squid, vhosts, virtual


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
vhosts problem TKS Slackware 0 07-05-2004 12:13 PM
how to restrict vhosts ruleman Linux - Security 0 02-09-2004 04:01 AM
vhosts !? skate Linux - Software 1 08-13-2003 05:23 PM
vhosts h8r Linux - Networking 3 01-18-2003 10:24 AM
vhosts h8r Linux - General 3 01-18-2003 10:21 AM


All times are GMT -5. The time now is 08:10 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration