View Single Post
  #6  
Old 26th February 2013, 14:56
darinpeterson darinpeterson is offline
HowtoForge Supporter
 
Join Date: Nov 2011
Posts: 152
Thanks: 35
Thanked 13 Times in 13 Posts
Default

Is there a document that will show me an example of what the DNS records look like for sites with SSLs?

The reason I ask is this:

If my web server runs on 192.168.1.145, do I have to add each new domain to the /etc/hosts file when assigning new IP addresses?

/etc/hosts
Code:
127.0.0.1       localhost
192.168.1.145   web.server.com

# The following lines are desirable for IPv6 capable hosts
::1     ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
So I want to add a new SSL domain. Must I do the following, or is there some way to create the DNS records, so I don't have to add the domain to the /etc/hosts file?

Code:
127.0.0.1       localhost
192.168.1.145   web.server.com
192.168.1.146   new.domain.com

# The following lines are desirable for IPv6 capable hosts
::1     ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters

Last edited by darinpeterson; 26th February 2013 at 15:10. Reason: clarify what i don't understand
Reply With Quote