LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 12-02-2014, 02:55 PM   #1
butchrappe
LQ Newbie
 
Registered: Dec 2012
Distribution: CENTOS
Posts: 21

Rep: Reputation: Disabled
CentOS 7 Web site not seen


We had CentOS 6 working hosting our web site for a while. Lately, it seems to have "given up". We could no longer YUM or get software updates - it would go thru all the mirror sites and not find the file(s) it was looking for.

So - updated to CentOS 7. This seems to be a happier system to work with. It readily finds the proper files, and has allowed some of the updates/addons we unsuccessfully tried in v6.

BUT: We can't see the web site. I've gone thru the Firewall, and thought I allowed all the proper ports, etc - but it's still not there. I've tried to update IPTABLES, and even made a file, but it errored out. I'm afraid to STOP the firewall, thinking that my IPTABLES wouldn't work, and the firewall wouldn't come back. I'd really hate to re-install this all again. This is the third time.

/etc/hosts has the IP address/website
/etc/httpd/conf/httpd.conf has been modified - or sufficiently messed up. Do I need VirtualHosts - for just one website? (I'd eventually like to make two - or more, but
let's get ONE running first)

Can someone help me make the website visible to the world?

Thanks much.

Last edited by butchrappe; 12-02-2014 at 04:06 PM. Reason: remove site info
 
Old 12-02-2014, 03:39 PM   #2
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
I don't know the major differences between CentOS6 and 7 but I suspect there aren't that many, so save your firewall rules:
Code:
sudo iptables-save  > /root/safe.rules
and you can reload those back up using
Code:
sudo iptables-restore < /root/safe.rules
This will allow you to stop the firewall and troubleshoot further if it is the firewall.

Hope that helps.

You don't need Virtualhosts per se for a single site.

Last edited by Habitual; 12-02-2014 at 03:41 PM.
 
Old 12-02-2014, 05:50 PM   #3
butchrappe
LQ Newbie
 
Registered: Dec 2012
Distribution: CENTOS
Posts: 21

Original Poster
Rep: Reputation: Disabled
CentOS 7 Web site not seen

Habitual,

Really neat ! V7 is now online !

I would now like to know why I can't see it locally (on machines on the local net) - but I can start another thread for that.

Thanks so much !

Butch
 
Old 12-02-2014, 05:59 PM   #4
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
You are very welcome!
 
  


Reply



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
block particular web site form multiple site hosted web server and allow others lasantha Linux - Security 2 08-17-2010 01:49 PM
block particular web site form multiple site hosted web server and allow others lasantha Linux - Security 1 08-17-2010 12:09 PM
Looking for web dev tool that can import an entire web site drokmed Linux - General 2 06-02-2008 07:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 02:39 AM.

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
Open Source Consulting | Domain Registration