LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-21-2016, 08:57 AM   #1
martinlangley
Member
 
Registered: Nov 2008
Posts: 69

Rep: Reputation: 0
Thumbs up Nginx Configuration


Hi all

Have a knotty little prob you guys will surely make short work of.

Server is Ubuntu 16.04, Nginx just installed. Need to configure

nginx on this server so that localhost:80/geocities serves the

contents-

This site is currently under construction. (c) 1994

-Have had several shots and made some progress but could do with you

guys expert guidance.
 
Old 05-21-2016, 10:06 AM   #2
Turbocapitalist
LQ Guru
 
Registered: Apr 2005
Distribution: Linux Mint, Devuan, OpenBSD
Posts: 7,307
Blog Entries: 3

Rep: Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721
nginx on Ubuntu has a default virtual host configuration file in the file /etc/nginx/sites-enabled/default

In there you will see where the default document root is. In the document root, make a directory called geocities and put your index.html file there. If you are the only user logging in to that machine, then you can get write access by using 'chown' to take ownership of the geocities directory.

Kompozer used to be the easiest web page editor, but it is abandoned and I don't know of a good replacement. Some like Bluefish a lot, but it is several levels more advanced. gedit + 'tidy' would always work if you are familiar with XHTML and CSS.
 
Old 05-22-2016, 10:27 AM   #3
martinlangley
Member
 
Registered: Nov 2008
Posts: 69

Original Poster
Rep: Reputation: 0
Nginx Configuration

Worked a treat, many thanks

ML
 
  


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
Nginx - Configuration (Limit r/s & connections) Sakina Linux - Server 3 05-17-2016 03:00 PM
Subdomain Configuration on Ubuntu nginx Server nightshift Linux - Server 1 05-25-2014 10:14 AM
LXer: Basic nginx Configuration LXer Syndicated Linux News 0 07-25-2013 10:30 AM
Nginx 1.2.2: Virtual Host file configuration problem dreamcoder Linux - Server 3 08-06-2012 11:18 AM
Nginx + Awstats - running configuration ? dlugasx Linux - Server 3 07-07-2011 05:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:05 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