LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 09-04-2005, 02:47 PM   #1
linuxmandrake
Member
 
Registered: Sep 2004
Distribution: debian sarge 64bit (AMD)
Posts: 709

Rep: Reputation: 30
local hosts configuration


How do u configure linux so that when I type www.mysite.com it points to 192.168.0.2

only managed http://ste.com/

Last edited by linuxmandrake; 09-04-2005 at 03:15 PM.
 
Old 09-04-2005, 03:33 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
add it to /etc/hosts.
 
Old 09-04-2005, 03:37 PM   #3
linuxmandrake
Member
 
Registered: Sep 2004
Distribution: debian sarge 64bit (AMD)
Posts: 709

Original Poster
Rep: Reputation: 30
ah ok now it works. Basically what am trying to do is a wildcard dns. for exmaple
http://steven.ste.com points to http://www.ste.com/index.php?user-steven with rewrite and apache2 but when I type steven.ste.com it changes www.ste.com why? it's supposed to be dynamic by the way so each user of my site gets their own subdomain if u like.

Last edited by linuxmandrake; 09-04-2005 at 03:40 PM.
 
  


Reply


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
External Hosts Resolve but Local Hosts Do Not kjm9 Linux - Networking 7 11-19-2005 03:51 PM
apache virtual hosts: how do I view them on local network? wendallsan Linux - Software 2 01-16-2005 11:57 PM
Unable to access local virtual hosts zeroGsa Linux - Networking 3 12-22-2004 01:39 PM
Correct entry for local machine in /etc/hosts Kropotkin Linux - Networking 1 11-16-2004 05:41 PM
bind & resolve local hosts jingo_man Linux - Networking 7 07-08-2004 02:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 07:17 PM.

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