Complete beginner to servers and really need getting started

Problems with the Linux version of XAMPP, questions, comments, and anything related.

Complete beginner to servers and really need getting started

Postby silman » 30. June 2012 04:23

Hey there!

This is my first post on XAMPP forums, i have a CentOS box and just installed XAMPP for linux on it but i am completey new to servers. My original plan for this computer was turn it into a webserver and fileserver so i can host my websites from home and access files i place on the server. But i need a lot of help getting of the ground! Where do i start? I have learned HTML, CSS, and Javascript and i am planning on learning PHP and MySQL ( and a little bit later i want to learn Perl, Python, and Ruby on Rails to see which server side scripting i like the best). But i don't know how to get my websites hosted on the computer!

So i know im kinda fumbling around but i guess i am trying to do the following things and need help:

- Host my own webpages on the internet
- Transfer files to the server remotely ( so i can develop websites on my laptop and transfer them to the server so the websites can update while im on the go)

The second major problem i have is trying to get the server to listen on a different port. I have a residential address so a lot of ports are blocked and even when i forward them they are still closed :( so i need to make the server listen on a port that i know is open. Is there a guide to do that?

Sorry if i'm asking for a lot but i am very excited to get started! Thanks so much!

P.S. Is there a way to have CentOS have icons on the desktop? I can't access the control panel because i dont know how to access it.
silman
 
Posts: 2
Joined: 30. June 2012 04:06
XAMPP Version: 5.6.3
Operating System: CentOS

Re: Complete beginner to servers and really need getting sta

Postby silman » 30. June 2012 04:30

For some reason port 80 is OPEN!!! This is great news because i have been trying to get it to work forever now!

but i am getting this when i - or anyone else - goes to my ip address:

Code: Select all
?php if (!empty($_SERVER['HTTPS']) && ('on' == $_SERVER['HTTPS'])) { $uri = 'https://'; } else { $uri = 'http://'; } $uri .= $_SERVER['HTTP_HOST']; header('Location: '.$uri.'/xampp/'); exit; ?> Something is wrong with the XAMPP installation :-(


what does this mean?
silman
 
Posts: 2
Joined: 30. June 2012 04:06
XAMPP Version: 5.6.3
Operating System: CentOS

Re: Complete beginner to servers and really need getting sta

Postby JonB » 02. July 2012 14:48

- Host my own webpages on the internet


ummm - ? put then in /htdocs?

- Transfer files to the server remotely ( so i can develop websites on my laptop and transfer them to the server so the websites can update while im on the go)


ahhhh - FTP???

next to last -

but i am getting this when i - or anyone else - goes to my ip address:

Code: Select all
?php if (!empty($_SERVER['HTTPS']) && ('on' == $_SERVER['HTTPS'])) { $uri = 'https://'; } else { $uri = 'http://'; } $uri .= $_SERVER['HTTP_HOST']; header('Location: '.$uri.'/xampp/'); exit; ?> Something is wrong with the XAMPP installation :-(


what happens when you go to http://localhost?


Finally -
For some reason port 80 is OPEN!!! This is great news because i have been trying to get it to work forever now!

but i am getting this when i - or anyone else - goes to my ip address:


XAMPP/LAMPP was designed with development in mind - therefore it is minimally secured. Therefore, you should secure it before you start port-forwarding.



8)




ytcf
User avatar
JonB
AF Moderator
 
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
XAMPP Version: 1.8.3-2
Operating System: Windows XP/7 - Fedora 15 1.7.7


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 2 guests