Webmin Apache Virtual Host Does not Work Properly
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?
Attachment | Size |
---|---|
ApacheVPS.png | 23.93 KB |
Barb posted this at 09:43 — 19th October 2012.
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
WHUK Offering Website Hosting Services since 2001 !
Shivendra9411 posted this at 04:58 — 26th April 2013.
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.
Harry14 posted this at 15:02 — 7th November 2012.
They have: 15 posts
Joined: Sep 2012
I' m stiil a newbie in here, but i think what Barb says is a good suggestion.
giffy posted this at 05:40 — 14th December 2012.
They have: 15 posts
Joined: Dec 2012
thanks for the help !!
giffy posted this at 05:40 — 14th December 2012.
They have: 15 posts
Joined: Dec 2012
thanks for the help !!
Shivendra9411 posted this at 04:58 — 26th April 2013.
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.