LinuxQuestions.org
Have you heard the LinuxQuestions.org Podcast?
Go Back   LinuxQuestions.org > Forums > Linux > 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
 
Thread Tools
Old 11-04-2006, 01:44 PM   #1
evilmonkey
Member
 
Registered: Jun 2003
Location: Toronto, Canada
Distribution: Windows Vista, Ubuntu
Posts: 191
Thanked: 0
Domain-less home webserver


[Log in to get rid of this advertisement]
Hello all,

I have a webserver on which I am running CentOS 4.4, apache, php, mysql, etc. I am using webmin + virtualmin as control panels. What I want to do is set up a testing server so I can test some of my sites in producton conditions. The problem is, I don't have domains to point to this server, nor do I want to do this because it would open the server to the web.

I know that when an account is set up using cpanel, not only is the domain pointed to the account, but also xxx.xxx.xxx.xxx/~username (where xxx is the server IP). Webmin does not seem to do this. How can I set up my server to allow for an easy creation of such accounts, without domains? I have no interest in things like email, although FTP would be nice.

Thank you.
evilmonkey is offline     Reply With Quote
Old 11-05-2006, 09:42 AM   #2
trickykid
Guru
 
Registered: Jan 2001
Posts: 23,977
Thanked: 8
Just cause you have a domain pointed to your server doesn't necessarily it's open to the world. Close off the ports and setup your own DNS server to point to the server with a name, all done internally if you want.

As for the <url>/~user

Usually by default apache will look for a public_html file in each users home directory. You can define this in your httpd.conf file. Just script it so when you add users, it automatically creates this directory for htdocs to be placed, etc.
trickykid is offline     Reply With Quote
Old 11-05-2006, 12:49 PM   #3
evilmonkey
Member
 
Registered: Jun 2003
Location: Toronto, Canada
Distribution: Windows Vista, Ubuntu
Posts: 191
Thanked: 0

Original Poster
Yup, that was it. I just had to enable it in httpd.conf. Thank you.
evilmonkey is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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
LXer: Host Your Own Domain and Webserver using Apache LXer Syndicated Linux News 0 07-14-2006 11:21 PM
domain names under one apache webserver cwwilson721 Slackware 8 06-26-2006 07:23 PM
Home Webserver Help Needed jawaking00 Linux - Networking 2 11-18-2005 04:18 AM
Webserver for my registered domain singh_ravinder Linux - Networking 1 05-17-2003 07:35 AM
firewall, webserver and registered domain problem, i think tharris Linux - Networking 7 08-14-2002 10:05 AM


All times are GMT -5. The time now is 10:35 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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration