just wandering how to set domain names on linux SuSE so i can go to www.domainnamehere.com and view the site which is hosted from linux
Domain names on Linux SuSE
I guess you have multiple sites on your SuSE-machine?
First: create virtual hosts on your site using yast or (better) using the template in /etc/apache2/vhosts.d.
(copy the template to yourdomain.conf and fill in the 'gaps' in the file)
Next: restart httpd (/etc/init.d/apache2 gracefull)
Next: on another computer: edit the hostfile from that pc and make it point to your SuSEbox
(on a windowsXP machine you find the hostfile in c:\windows\system32\etc\hosts : edit it and add your-ip www.yourdomain.com)
(on linux it's in /etc/hosts)
That should do the trick
JohanFH
First: create virtual hosts on your site using yast or (better) using the template in /etc/apache2/vhosts.d.
(copy the template to yourdomain.conf and fill in the 'gaps' in the file)
Next: restart httpd (/etc/init.d/apache2 gracefull)
Next: on another computer: edit the hostfile from that pc and make it point to your SuSEbox
(on a windowsXP machine you find the hostfile in c:\windows\system32\etc\hosts : edit it and add your-ip www.yourdomain.com)
(on linux it's in /etc/hosts)
That should do the trick
JohanFH
hmm thanks dude.. havent tried it yet as i need a new router.. would u recommened SuSE or Fedora ??
Related topics
