TurnKey Linux Virtual Appliance Library

How do i access a virtual Web server ?

First of all i don't know if this is a support question, so i place it in general section. (I guess i'm just missing something because i have near to no experience with this)

 

My problem is that i created a virtual machine with the Tomcar on Apache ApplianceIt installed just fione too, had no problems with it. Now i just cant figure out how to access any of the virtual web servers of the apache web server.

Starting the vm i get a screen telling me the ip addresses and ports of the server. I thought the first entry (Web: http://ip) would be the address to use to get onto the hosted webside, but i allways reach the Control Panel with this.

Am i missing some settings to start the virtual servers listening for http(:80) connections ?

 

I have tried to search turnkey webside for some beginners tutorial but was unable to find any for someone who is totaly new to this. Is there any 1by1 tutorial for total beginners availiable somewhere ?

Also i am not sure if this is the right appliance to use. I want to play arround with java based web started programs with a little sql server for data storage. The Tomcat appliance sounds like the right choice for this, but correct me if i am wrong.

 

Thanks for any help in advance.

Jeremy's picture

Have a look at this thread

Check this thread out. Hopefully that'll get you going in the right direction.

The guy in that thread is a

The guy in that thread is a good deal further then me ;)

I dont know how to even see that default test html document the apache server normaly points to when installed. Do i have to add something to the ip other then port 80 to get there ?

Jeremy's picture

Sorry for delayed reply

I have no idea about Tomcat but I'm not quite clear what you are trying to do. Browsing to the IP address should take you to the start-page/control panel (whatever you want to call it). AFAIK it doesn't come with a pre-installed "hosted website". You need to put them there youself and configure them in Apache (hence the link I posted above). I would assume that you then browse to them as a sub directory ie http://<IP-address>/webapp

When i start the Server i get

When i start the Server i get to a screen informing me about its ip address.

Browsing to this address brings me to the Control Panel, yes. But i thought  i only reach the CP when i access the server with port 12320 like it tells me. Usualy Apache comes with a pre-installed little html file that contains the text that the server has been set up correctly if you can browse to it.

Playing arround with the CP i figured out that if i create subwolders in the default root the server (wich is /var/www/) i can bowse there using http://<IP>/<new folder> and any html files i place there work fine.

The mentioned pre-installed html dokument lies in the /var/www/ folder tho, so i thought just browsing to the IP should show me that one if i use default port 80.

Seems i have a lot to learn about this.


Jeremy's picture

The TKL 'control panel' is different to the Tomcat control panel

Also if you just wish to host standard html webpages then you will only need the LAMP appliance (AFAIK Tomcat is a java applet server).

I'd have to have a look at it a little closer to be sure, but the behaviour you describe is possibly because of the way Tomcat and Apache are interacting. To get a clearer idea of what is going on, try having a look at the Apache config (Webmin is probably the easiest way to go - accessed via port 12321).

BTW AFAIK port 12320 should give you the Webshell (Shell-in-a-box - a browser based shell).

Yes, sorry, mixed up the

Yes, sorry, mixed up the ports. Webmin is 12321.

I have looked through that but didnt manage to config it any other way. Also getting some errors if i want to apply changes to redirects. Wanted to redirect the CP to another address and the normal web server to /var/www/ but when i hit apply Webmin told me that the entered path is not a regular expression, even tho only the field for the incomming address should be a regex.

I want to use it as a java applet server but for that i need the html base working.

Don't know if i just do something absolutely wrong due to my inexperience with this or if the server didnt install properly (wich i doubt looking at the quality of the applicances on this page).

I know my way arround with java just finde but wanted to play arround with applets now, so i thought this appliance would be the best choice. Creating a complete java servers is one thing, putting all that together to be viewed in a browser another ;)

Still searching for a beginner friendly tutorial on how to configure these appliances too if someone can point me in the right direction.


Send 5000 emails for FREE each month

 

hello friend,
 
Now you can send 5000 FREE emails per month using our email marketing servers with multiple IPs to get your campaign to inbox.Get great inbox deliveries and land your 95% emails to inbox.
 
With our userfriendly and beautiful web-app you would be able to track every movement of your campaign. You would be able to see the users who have opened, clicked, unsubscribed, bounced and marked as spam.
 
You can register here for your FREE account:http://www.client.hostwiser.com/cart.php?a=view
HURRY!!
 
* You must have access to your own opt-in list of your subscribers. You will not use the servers for spamming.You must be compliant with the ICANN-SPAM ACT of anti spamming.We do not sell email lists.

Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account, used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <p> <span> <div> <h1> <h2> <h3> <h4> <h5> <h6> <img> <map> <area> <hr> <br> <br /> <ul> <ol> <li> <dl> <dt> <dd> <table> <tr> <td> <em> <b> <u> <i> <strong> <font> <del> <ins> <sub> <sup> <quote> <blockquote> <pre> <address> <code> <cite> <strike> <caption>

More information about formatting options

Leave this field empty. It's part of a security mechanism.
(Dear spammers: moderators are notified of all new posts. Spam is deleted immediately)