Skip to content

twohlix/HostingScripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#HostingScripts These are basic scripts used to make hosting simpler on my CentOS setup

##enablewww enablewww username domainincluding.com enablewww enables hosting for the specified domain and username. If the user doesnt exist it will create it, so you probably have to run this as sudo. This creates a directory structure under /home/username/ and should set permissions properly. It also creates the vhosts file for apache and the configuration for named (the DNS service). THIS OVERWRITES CONFIGURATIONS for now

##disablewww disablewww username domainincluding.com disablewww disables the hosting for the specified domain under the user. This just destroys symlinks and no actual configurations.

##listww listwww listwww lists all the enabled sites on this server It's a nice way of seeing which vhosts are being used

##hosting.conf hosting.conf is a file that contains some configuration variables for the system Modify this to adjust these scripts for your system.

last update: 06.09.2011 http://www.github.com/twohlix/

About

Some scripts that make hosting my friend's sites simpler for me

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published