LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-23-2015, 03:19 AM   #1
amit.kumar1108
LQ Newbie
 
Registered: Mar 2015
Posts: 6

Rep: Reputation: Disabled
Http and Https set up in Linux environment.


I need steps start from scratch about hosting a site on http and https in linux along with screen shot if possible. I have installed Apache.

Can you please let me know. I am very new to Linux

Last edited by amit.kumar1108; 03-23-2015 at 03:25 AM.
 
Old 03-23-2015, 03:27 AM   #2
T3RM1NVT0R
Senior Member
 
Registered: Dec 2010
Location: Internet
Distribution: Linux Mint, SLES, CentOS, Red Hat
Posts: 2,385

Rep: Reputation: 476Reputation: 476Reputation: 476Reputation: 476Reputation: 476
Welcome to LQ!!

It will be good if you could let us know what have you tried so far? You also did not mention which distribution you are running, http/apache configuration is different in different distribution.

You mentioned that you want https for your website, did you already obtain the certificate or you will be using self-signed certificate? You also did not mention if you want to create website for testing purpose or you seriously want to launch your website. If you are launching your website then for https you have to obtain certificate from SSL certificate vendors like: VeriSign, Thawte, Comodo etc.

In a nutshell if it is not for testing purpose then there are other things than http and https that you will need for website.
 
Old 03-23-2015, 03:34 AM   #3
amit.kumar1108
LQ Newbie
 
Registered: Mar 2015
Posts: 6

Original Poster
Rep: Reputation: Disabled
Hello,

Thanx for giving me the pointers.

I have only installed Apache on the server. First i need to create Http for the site. There is one IP where i have to do the settings.

So i need to first know the steps for setting Http with the IP.

I need to create a self signed certificate for https.. therefore i need the entire steps for setting up https as well but that is the 2nd step.

Are above points clear now??
 
Old 03-23-2015, 03:44 AM   #4
T3RM1NVT0R
Senior Member
 
Registered: Dec 2010
Location: Internet
Distribution: Linux Mint, SLES, CentOS, Red Hat
Posts: 2,385

Rep: Reputation: 476Reputation: 476Reputation: 476Reputation: 476Reputation: 476
You still did not mention which Linux distribution you are using (eg: CentOS, SuSE, Debian etc).

When you say you have one IP with which you want to setup the website what you mean by that? Is that IP static IP which you will port forward to local LAN? Here IP is irrelevant because anyways you will not be using a static IP to serve just one service. You can have any IP on internal network.
 
Old 03-23-2015, 04:30 AM   #5
amit.kumar1108
LQ Newbie
 
Registered: Mar 2015
Posts: 6

Original Poster
Rep: Reputation: Disabled
Yes the IP is static.

It is CentOS.
 
Old 03-23-2015, 04:58 AM   #6
T3RM1NVT0R
Senior Member
 
Registered: Dec 2010
Location: Internet
Distribution: Linux Mint, SLES, CentOS, Red Hat
Posts: 2,385

Rep: Reputation: 476Reputation: 476Reputation: 476Reputation: 476Reputation: 476
These are the links which I got pretty easily searching on google:

For http: http://dev.antoinesolutions.com/apache-server

For https: http://wiki.centos.org/HowTos/Https

We as a community expect you to search yourself and if you are stuck anywhere in the setup post the question and we will be happy to assist you. We do not entertain spoon feeding or setting up something from scratch.

Even if you want to setup something from scratch try yourself first and let us know where you are facing the problem.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Forward external https through Linux box to http local 192.168* addy? the86d Linux - Networking 3 06-27-2013 01:37 PM
Apache 2 / SSL and virtual host under GNU/Linux Debian Etch - http and https scls19fr Linux - Server 0 10-09-2008 11:11 AM
https vs http: Creating canonical issues Linux Server seopractices Linux - Server 1 07-23-2008 12:35 PM
Allow only ssl, https:// not http:// on apache2 webserver, Linux therapeias Linux - Server 1 04-11-2008 05:03 PM
LXer: Linux configure pound reverse proxy for Apache http / https web server LXer Syndicated Linux News 0 12-14-2007 08:20 PM


All times are GMT -5. The time now is 03:57 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration