LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Web Page Hosting (https://www.linuxquestions.org/questions/linux-newbie-8/web-page-hosting-553488/)

IvanLow 05-13-2007 01:47 AM

Web Page Hosting
 
Hi, I was thinking of setting up a web page for business to allow people to do purchase the item I'm selling.
I'm not familiar with webpage hosting so I was thinking between hosting a webpage using my own server or subscribe to online available web hosting service.
Will anybody help me with the decision and kindly let me know what are the pro and con if decided to use a linux server or a apple Xserver?

kummiliim 05-13-2007 02:53 AM

The decision of weather to rent a server depends if the sell is worth the money and what kind of internet connection you have.

When you're only selling one product, you won't probably get too many users on the server, so it would be a good idea to serve it from your own computer, if you're up for the hassle. That's just my suggestion. That presumes you have at least a decent home connection.

I can't really help you with the selection of software and such, since I don't really know much about it. A simple Apache server will probably work.

As I understand you're thinking of setting up a webpage to introduce the item and maybe let others ask questions about it and stuff. If so, I really think home serving is the best solution.

(P.S. How to spell the fourth word of my post? I hate misspelling.)

Brad.Scalio@noaa.gov 05-13-2007 08:51 AM

Greetings

Yeah...I agree w/^

Depending on your distro you may need to install the package named apache or httpd ... RedHat/Fedora name their packages after the daemon, hence the difference.

I would recommend using apache ... some things to look for:

-make sure DocumentRoot in /etc/httpd/conf/httpd.conf is correct, the default of /var/www/html works just fine

-test initial setting after downloading packages via http://localhost (after starting the httpd service)

-make sure your VirtualHost section DocumentRoot is defined .. and make sure the security context matches that of the expected type (if using selinux)

# semanage fcontext -l | grep "/\var/\www"

then chcon or simply restorecon -R on the new dir you made

setting up web hosting is fairly simple -- the big issue is setting it up securely ... you are going to want to set netfilters on your tcp ports for optimal security...

anyway just install the httpd or spache package (depending on distro depends on name) then start the service, and simply go from there editing httpd.conf and the VirtualHosts tage -- its fairly simple


All times are GMT -5. The time now is 11:46 PM.