LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 09-10-2005, 12:45 PM   #1
Xoleum
LQ Newbie
 
Registered: Sep 2005
Posts: 9

Rep: Reputation: 0
Dedicated Server with CentOS 4.x and DNS


I'm new to Linux, got my Dedicated server recently and I want to make a domain work on a subfolder or own IP. I mean, I want to have an index with my domain like if I used cPanel but created manualy as I do not have cpanel on my server. How can I do this? I know it's something about master zones and that but I'm really new and I need step by step, I'm also using webmin.

Thanks & Regards.
 
Old 09-10-2005, 01:33 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,378

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
no idea what you want at all... can you explain it a little... a lot... clearer? an index?
 
Old 09-10-2005, 01:51 PM   #3
Xoleum
LQ Newbie
 
Registered: Sep 2005
Posts: 9

Original Poster
Rep: Reputation: 0
I have installed Apache. You can access my HTTP files by just entering the IP. What I want to do is like create a subfolder which will be accessed as an index of a domain. Like www.mydomain.com will point and work with ipaddres/mydomain. And the domain will not be forward, but will work on subfolders created and all that.

Get what I mean now?

Regards.
 
Old 09-10-2005, 02:48 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,378

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
OK. you want to have two urls: http://1.2.3.4/example and http://example.com and you want the page returned to be the same thing? well that's just two seperate virtual servers within apache. you will of course require external DNS to resolve the domain to your IP address, but you don;t say you have any problems with that part of it.. so just bog standard virtual servers in httpd.conf
 
  


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
Dedicated Server Distros (SME server and Censornet) Sugga Linux - General 2 09-22-2005 03:15 AM
Installed CentOS, but cant resolve DNS abcampa Red Hat 1 04-27-2005 11:10 AM
JK2 Dedicated Server TBomb Linux - Software 2 05-23-2004 07:35 AM
Getting my first dedicated server Damainman Linux - Newbie 4 11-13-2003 04:48 PM
where to get UT dedicated server dkc_ace Linux - General 2 12-19-2002 07:11 AM


All times are GMT -5. The time now is 04:31 AM.

Main Menu
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