VPS - webmin help

allofus

New Member
Messages
183
Reaction score
2
Points
0
Hi,

I have made another post on the forums a week or so ago related to java and since discovered that debian and ubuntu have repo's for java making for an easy install.

NP there, but lxadmin, the gui that is pre-installed with centos 5.2 in teh VPS is not available with deb/ubu...

Again not a huge problem because there is an alternative called webmin / usermin.
http://webmin.com


If only it was that easy though.
webmin is really not as straight forward as lxadmin. With lxadmin I was able to click add domain, add sub-domain and type the name and desired file location and hey-presto it was added.

webmin is really not this simple and I am struggling to get my head arounds it.

I have setup a user which is now accessible via usermin.

I now want to be able to add a domain and sub-domains in webmin that can be managed by said user but I can't get it to work.

It may be worth pointing out that the NS, s are not being hosted by me, I just need to add the domains and sub-domains since the nameservers are already configured and good to go!

What do I do?

Respectfully,
MattG
 

garrettroyce

Community Support
Community Support
Messages
5,609
Reaction score
251
Points
63
Yeah, simple would be the absolute last word I would use to describe it.

I'm assuming you have apache installed and configured already. If I understand your question correctly, you have to mess around with the apache webadmin module:

http://doxfer.com/Webmin/ApacheWebserver

I think all you have to do is modify/add the virtual servers to fit your needs. It sounds too easy, but I think all you have to do is tell it you want it to take the requests from yoursite.com to /your/server/path/

Well, we went through this last time where I was completely wrong. Maybe I can be 50/50 after this one :p
 

allofus

New Member
Messages
183
Reaction score
2
Points
0
Yeah, simple would be the absolute last word I would use to describe it.

I'm assuming you have apache installed and configured already. If I understand your question correctly, you have to mess around with the apache webadmin module:

http://doxfer.com/Webmin/ApacheWebserver

I think all you have to do is modify/add the virtual servers to fit your needs. It sounds too easy, but I think all you have to do is tell it you want it to take the requests from yoursite.com to /your/server/path/

Well, we went through this last time where I was completely wrong. Maybe I can be 50/50 after this one :p

Thanks,

Seems the issue was related to setting up virtual servers, but now I have set them up I have new problems!


I have half-fixed the apache2 issue, but now whichever sub-domain I add first is resolved, but not the rest. They all point to the files uploaded to the first sub-domain.

1.example.com
2.example.com
3.example.com

all show the files for 1.example.com via any browser dispite all having their own unique files and such.

Even if I add the virtual servers directly to the httpd.conf file.

Funny thing is that if I do not add direct to this file there is no evidence of them on this file, seemingly they are being stored elsewhere and I cannot find where.

I am sure that the resolution to this issue will be insignificant in comparison to the journey that got me to this frustrating point, but once again I hit the proverbial brick wall and have come back to these forums for advice!
 

allofus

New Member
Messages
183
Reaction score
2
Points
0

Thanks a million garrettroyce...


I read the guide you linked to me and it was not overly helpful on it's own, but right down near the bottom there was a link ( http://httpd.apache.org/docs/2.2/vhosts/examples.html ) to 'Virtual Host examples' and it was this that really helped me.

I edited the file
/etc/apache2/httpd.conf
Code:
<VirtualHost *:80>
DocumentRoot /home/allofus/public_html/ventrilo.4allofus.com
ServerName ventrilo.4allofus.com
ServerAlias ventrilo.4allofus.com
</VirtualHost>

<VirtualHost *:80>
DocumentRoot /home/allofus/public_html/services.4allofus.com
ServerName services.4allofus.com
ServerAlias services.4allofus.com
</VirtualHost>

<VirtualHost *:80>
DocumentRoot /home/allofus/public_html/shoutcast.4allofus.com
ServerName shoutcast.4allofus.com
ServerAlias shoutcast.4allofus.com
</VirtualHost>
It works just how I expected and indeed wanted it to work.

Now if I wish to add any more sub-domains I can just add it to the httpd.conf file.


Hooray.
 

garrettroyce

Community Support
Community Support
Messages
5,609
Reaction score
251
Points
63
yay, I win by default! :)

Glad it's working for you.
 
Last edited:
Top