LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > 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
  Search this Thread
Old 11-04-2006, 12:44 PM   #1
evilmonkey
Member
 
Registered: Jun 2003
Location: Toronto, Canada
Distribution: Ubuntu 10.04 LTS; CentOS 5.5
Posts: 199

Rep: Reputation: 30
Domain-less home webserver


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.
 
Old 11-05-2006, 08:42 AM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
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.
 
Old 11-05-2006, 11:49 AM   #3
evilmonkey
Member
 
Registered: Jun 2003
Location: Toronto, Canada
Distribution: Ubuntu 10.04 LTS; CentOS 5.5
Posts: 199

Original Poster
Rep: Reputation: 30
Yup, that was it. I just had to enable it in httpd.conf. Thank you.
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:54 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
Open Source Consulting | Domain Registration