LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 06-06-2006, 01:34 AM   #1
Ameii83
Member
 
Registered: Dec 2004
Location: malaysia
Posts: 56

Rep: Reputation: 15
Question web server file


where i should setup my html file in linux webserver?.For your information..i have already install the apache server in the machine..
 
Old 06-06-2006, 01:44 AM   #2
LzW-x
Member
 
Registered: Jun 2006
Distribution: SuSe
Posts: 66

Rep: Reputation: 15
try /var/www/html
 
Old 06-06-2006, 05:54 AM   #3
Ameii83
Member
 
Registered: Dec 2004
Location: malaysia
Posts: 56

Original Poster
Rep: Reputation: 15
let me give some situation..i want to create e.g www.xstyle.com..so in the html folder, is it i have to create one folder that call xstyle.com ?
 
Old 06-06-2006, 06:14 AM   #4
timmeke
Senior Member
 
Registered: Nov 2005
Location: Belgium
Distribution: Red Hat, Fedora
Posts: 1,515

Rep: Reputation: 61
If you want a domain on the internet, you'll need to do a lot more than just create one directory.
For instance:
-register domain (ie pay for it)
-set up apache (httpd.conf file should mention your "domain", ie xstyle.com)
-possibly set up DNS if needed
-...
I doubt that the directory name will make much difference.
 
Old 06-06-2006, 06:02 PM   #5
LzW-x
Member
 
Registered: Jun 2006
Distribution: SuSe
Posts: 66

Rep: Reputation: 15
I checked out the domain...

It looks like you domain registrar stuck you with their DNS which is one of them fake search engines...

DNS Servers: A.NS.ULTSEARCH.COM B.NS.ULTSEARCH.COM

It even looks like a real web site but when you click stuff, you just get sponsored search results so right now your web site is making money for someone else and they may even charge you for this hosted DNS service!!!

If you want your own server so you can escape some of these pitfalls, you should run DNS to and that means a steeper learning curve! Also some ISP's may not propigate your dns upstream! Hell, most even forbid running servers... You might need business class DSL or something. (But I'm assuming things you've not said)

Linux has, or did have BIND for DNS (Berkley Internet Name Deamon) That and Apache can be configured through .conf files you'll find... Some distro's should also include GUI utilities so you don't have to manually edit files!

I think start by trying to get your IP address to display the apache test page located on your computer! Then you can build a web site and transfer the DNS. Some have online control panels, some you may have to call...

It might be hard even with an online control panel because it will want you to type in 2 DNS servers and check if they resolve... If they don't have a dns record for your computer, how will it resolve?

You may have to call anyway and tell them "I need you to create the records dns1.xstyle.com & dns2.xstyle.com"

How you get 2 dns thinks on the same computer is simply by having 2 ethernet cards with different IP addresses!

Your domain can work fine but perfection will require more work... Both DNS servers on the same subnet? Can't do much about if you only have 1 computer! Reverse DNS is not required but will help to ensure the emails comming from your domain don't get filtered and stuff! Your upstream provider provider probably controls reverse DNS so you need to have them delagate it downstream to your dns server!

Once everthing is good to go, all you pay for are your domain name renewal fees, internet connection, and electric bill to run the thing! If you do get to run your own DNS, you get to have all of the subdomains you want! Each one only requires a DNS record, nothing else! You could have like admin.xstyle.com, images.xstyle.com, me.xstyle.com, microsoft.com.xstyle.com (LOL) and they can be on any computer anywhere because IP address is part of the dns record!
 
  


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
Sending a file to a web server via ftp mrobertson Programming 11 07-06-2005 10:12 AM
What would I need to make a File Server / Web Server? RHLinuxGUY Linux - General 13 12-19-2004 11:17 PM
can we configure a Linux server with mail server,file server and web server kumarx Linux - Newbie 5 09-09-2004 07:21 AM
Web server/File Sharing Server sschoenb Solaris / OpenSolaris 1 06-24-2004 04:56 PM
default file permissions for web server AZDAVE Linux - Security 3 11-13-2003 04:22 PM


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