Webmin Apache Virtual Host Does not Work Properly

They have: 1 posts

Joined: Oct 2012

I have a home server that I would like to migrate my GoDaddy hosting account to, since GoDaddy php performance seems to be pathetic at best.

My server already has webmin, apache, mysql, and php running. The server is headless and has an internal webpage that I access. I have been able to create a virtual host and direct external traffic to the directory that I have created for this host. My problem is that I am only able to direct traffic to one website or the other.

The only way I can get traffic to be directed to my /example.com website folder is by selecting "Any" for the virtual server address. Otherwise the default server, which hosts my internal webpage, gets all of the traffic, regardless of the URL. I have spent a few days on Google and reading tutorials. Every tutorial says that my settings should work, but they do not.

Does anyone have any suggestions? What documents should I post to get the best help?

AttachmentSize
ApacheVPS.png23.93 KB

They have: 10 posts

Joined: Oct 2012

In apache you would need to edit the config file in the apache part of webmin. Whereas if you want them at the same address, NameVirtualHost your ipaddress

They have: 12 posts

Joined: Apr 2013

The only way I can get traffic to be directed to my /example.com website folder is by selecting "Any" for the virtual server address. Otherwise the default server, which hosts my internal webpage, gets all of the traffic, regardless of the URL. I have spent a few days on Google and reading tutorials. Every tutorial says that my settings should work, but they do not.

They have: 15 posts

Joined: Sep 2012

I' m stiil a newbie in here, but i think what Barb says is a good suggestion.

They have: 15 posts

Joined: Dec 2012

thanks for the help !!

They have: 15 posts

Joined: Dec 2012

thanks for the help !!

They have: 12 posts

Joined: Apr 2013

The only way I can get traffic to be directed to my /example.com website folder is by selecting "Any" for the virtual server address. Otherwise the default server, which hosts my internal webpage, gets all of the traffic, regardless of the URL. I have spent a few days on Google and reading tutorials. Every tutorial says that my settings should work, but they do not.

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.