Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 10th January 2013, 21:35
AndyLandy AndyLandy is offline
Junior Member
 
Join Date: Jan 2013
Posts: 3
Thanks: 1
Thanked 0 Times in 0 Posts
Default Basic Linux webserver - setup without a real domain

Hi!

I'm new to this server things, so I wonder about the following. I set up a server according to the tutorial here on Howtoforge - "The Perfect Server - OpenSUSE 12.2 x86_64 (nginx, Dovecot, ISPConfig 3)". I plan to use the server as a shared host, for multiple domains. In the tutorial I come to the point, where I have to set up the domain of the server. I wonder, do I have to have a real domain name for the server itself? If the server has a static IP, and I set up the DNS records for the domains that I want to host so that they point to the IP of my server, won't that work? In my opinion i would need to set up the domain only if I hosted also a nameserver for the domains of the server. Do I miss something? I just don't see where do server domain would come to use, except for NS.

Regards,
Andy
Reply With Quote
Sponsored Links
  #2  
Old 11th January 2013, 16:53
falko falko is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,744 Times in 2,577 Posts
Default

I recommend to use a real hostname, e.g. server1.example.com. If you just use the server IP, Postfix will greet other servers with the IP, and I'm not sure if all servers like this (mails might go into the spam folder).
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 11th January 2013, 18:29
AndyLandy AndyLandy is offline
Junior Member
 
Join Date: Jan 2013
Posts: 3
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Thank you for your comment. I just thought I could set up the server at first without assigning a domain, as I have no domain that I want to associate with the whole server, but I guess I will use one of the domains I plan to host and I will get a spare domain for the server in the longrun.
Yet another question, do you think there would be any problem to switch the server domain once it has been running for a while. I guess not, but maybe I'm wrong.
Reply With Quote
  #4  
Old 11th January 2013, 20:28
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,408
Thanks: 834
Thanked 5,496 Times in 4,326 Posts
Default

You dont have to assiciate a whole domain with the server, you just ahve to point a subdomain of one of your domains to the server and use this as server hostname.

Quote:
Yet another question, do you think there would be any problem to switch the server domain once it has been running for a while.
No.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
AndyLandy (12th January 2013)
  #5  
Old 12th January 2013, 08:15
AndyLandy AndyLandy is offline
Junior Member
 
Join Date: Jan 2013
Posts: 3
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Oh, Till, thanks for bringing meback to the earth. I feel like a fool, well in this topic I am obviously. All the time it was right before my eyes "server1.example.com", but I was so busy with domains, that I didn't see the domains anymore :-)
Reply With Quote
  #6  
Old 25th April 2013, 20:09
rockworldmi rockworldmi is offline
Junior Member
 
Join Date: Apr 2013
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Nginx shared

Hi Andy,

can you tell how you managed to get nginx for shared hosting? what happned for nginx.conf ? do you update it for every client?

Thanks,
Jay.
Reply With Quote
  #7  
Old 26th April 2013, 17:56
falko falko is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,744 Times in 2,577 Posts
Default

Quote:
Originally Posted by rockworldmi View Post
Hi Andy,

can you tell how you managed to get nginx for shared hosting? what happned for nginx.conf ? do you update it for every client?

Thanks,
Jay.
Yes, that's how we do it at Timme Hosting. Since nginx does not support .htaccess files, and customers do not have admin access to ISPConfig on a shared server, we offer nginx hosting as managed hosting, i.e., we take care of rewrite rules, etc.

On our Managed Servers, customers do have admin access to ISPConfig, of course.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #8  
Old 27th April 2013, 18:34
rockworldmi rockworldmi is offline
Junior Member
 
Join Date: Apr 2013
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Hmm.. that's bit tidious ..
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Info] Remote Desktop Solutions for Linux mar.and65 Desktop Operation 0 27th April 2011 07:05
local network, domain and modem setup page triange :D caho Server Operation 1 2nd March 2009 14:09
How to setup Debian linux on a Dell server with RAID 1 Hans HOWTO-Related Questions 7 11th May 2006 00:10
How to setup Debian Linux on a Dell server? Hans Installation/Configuration 9 23rd January 2006 17:16
Attempting The Perfect Setup (To Some Extent) PsyVision HOWTO-Related Questions 3 3rd November 2005 11:50


All times are GMT +2. The time now is 13:06.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.