How can i set domain name on my localhost? [duplicate]












1
















This question already has an answer here:




  • How to set a domain to ip address?

    2 answers




I run Apache on my Ubuntu system in local network.
there is more than 100 systems in the network so i want to set domain name on this system.
How can i do this?



Thanks A lot.










share|improve this question













marked as duplicate by pa4080, karel, Elder Geek, Charles Green, K7AAY yesterday


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.























    1
















    This question already has an answer here:




    • How to set a domain to ip address?

      2 answers




    I run Apache on my Ubuntu system in local network.
    there is more than 100 systems in the network so i want to set domain name on this system.
    How can i do this?



    Thanks A lot.










    share|improve this question













    marked as duplicate by pa4080, karel, Elder Geek, Charles Green, K7AAY yesterday


    This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.





















      1












      1








      1









      This question already has an answer here:




      • How to set a domain to ip address?

        2 answers




      I run Apache on my Ubuntu system in local network.
      there is more than 100 systems in the network so i want to set domain name on this system.
      How can i do this?



      Thanks A lot.










      share|improve this question















      This question already has an answer here:




      • How to set a domain to ip address?

        2 answers




      I run Apache on my Ubuntu system in local network.
      there is more than 100 systems in the network so i want to set domain name on this system.
      How can i do this?



      Thanks A lot.





      This question already has an answer here:




      • How to set a domain to ip address?

        2 answers








      networking






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Jul 3 '13 at 7:25









      Omid GoudarziOmid Goudarzi

      612




      612




      marked as duplicate by pa4080, karel, Elder Geek, Charles Green, K7AAY yesterday


      This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.









      marked as duplicate by pa4080, karel, Elder Geek, Charles Green, K7AAY yesterday


      This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
























          3 Answers
          3






          active

          oldest

          votes


















          0














          You need to setup a dns server somewhere within your domain, which any clients are pointed towards. This questions on how to use bind in your lan should help.



          Failing that, there are a number of questions regarding bind already.






          share|improve this answer

































            0














            If it is for just local use, you can just put the IP address entry into your hosts file. You can make up any domain name you want for this.



            On modern Windows, that is c:/Windows/drivers/etc/HOSTS



            On linux, the file is /etc/hosts.



            For the rest of the world, you will want a registered domain. Then you can use your domain registrar's control panel to point it to your computer's IP address.






            share|improve this answer

































              0














              If for instance port defined in Apache is 8080, this can be done by assigning this port in the router to your machine. All requests to yourdomainname:8080 will go to your machine where Apache is installed. Another means is by using a DMZ defined in the router.






              share|improve this answer






























                3 Answers
                3






                active

                oldest

                votes








                3 Answers
                3






                active

                oldest

                votes









                active

                oldest

                votes






                active

                oldest

                votes









                0














                You need to setup a dns server somewhere within your domain, which any clients are pointed towards. This questions on how to use bind in your lan should help.



                Failing that, there are a number of questions regarding bind already.






                share|improve this answer






























                  0














                  You need to setup a dns server somewhere within your domain, which any clients are pointed towards. This questions on how to use bind in your lan should help.



                  Failing that, there are a number of questions regarding bind already.






                  share|improve this answer




























                    0












                    0








                    0







                    You need to setup a dns server somewhere within your domain, which any clients are pointed towards. This questions on how to use bind in your lan should help.



                    Failing that, there are a number of questions regarding bind already.






                    share|improve this answer















                    You need to setup a dns server somewhere within your domain, which any clients are pointed towards. This questions on how to use bind in your lan should help.



                    Failing that, there are a number of questions regarding bind already.







                    share|improve this answer














                    share|improve this answer



                    share|improve this answer








                    edited Apr 13 '17 at 12:23









                    Community

                    1




                    1










                    answered Jul 3 '13 at 7:47









                    AJefferissAJefferiss

                    1,034917




                    1,034917

























                        0














                        If it is for just local use, you can just put the IP address entry into your hosts file. You can make up any domain name you want for this.



                        On modern Windows, that is c:/Windows/drivers/etc/HOSTS



                        On linux, the file is /etc/hosts.



                        For the rest of the world, you will want a registered domain. Then you can use your domain registrar's control panel to point it to your computer's IP address.






                        share|improve this answer






























                          0














                          If it is for just local use, you can just put the IP address entry into your hosts file. You can make up any domain name you want for this.



                          On modern Windows, that is c:/Windows/drivers/etc/HOSTS



                          On linux, the file is /etc/hosts.



                          For the rest of the world, you will want a registered domain. Then you can use your domain registrar's control panel to point it to your computer's IP address.






                          share|improve this answer




























                            0












                            0








                            0







                            If it is for just local use, you can just put the IP address entry into your hosts file. You can make up any domain name you want for this.



                            On modern Windows, that is c:/Windows/drivers/etc/HOSTS



                            On linux, the file is /etc/hosts.



                            For the rest of the world, you will want a registered domain. Then you can use your domain registrar's control panel to point it to your computer's IP address.






                            share|improve this answer















                            If it is for just local use, you can just put the IP address entry into your hosts file. You can make up any domain name you want for this.



                            On modern Windows, that is c:/Windows/drivers/etc/HOSTS



                            On linux, the file is /etc/hosts.



                            For the rest of the world, you will want a registered domain. Then you can use your domain registrar's control panel to point it to your computer's IP address.







                            share|improve this answer














                            share|improve this answer



                            share|improve this answer








                            edited Apr 6 '17 at 4:13

























                            answered Apr 5 '17 at 17:35









                            SDsolarSDsolar

                            1,54441638




                            1,54441638























                                0














                                If for instance port defined in Apache is 8080, this can be done by assigning this port in the router to your machine. All requests to yourdomainname:8080 will go to your machine where Apache is installed. Another means is by using a DMZ defined in the router.






                                share|improve this answer




























                                  0














                                  If for instance port defined in Apache is 8080, this can be done by assigning this port in the router to your machine. All requests to yourdomainname:8080 will go to your machine where Apache is installed. Another means is by using a DMZ defined in the router.






                                  share|improve this answer


























                                    0












                                    0








                                    0







                                    If for instance port defined in Apache is 8080, this can be done by assigning this port in the router to your machine. All requests to yourdomainname:8080 will go to your machine where Apache is installed. Another means is by using a DMZ defined in the router.






                                    share|improve this answer













                                    If for instance port defined in Apache is 8080, this can be done by assigning this port in the router to your machine. All requests to yourdomainname:8080 will go to your machine where Apache is installed. Another means is by using a DMZ defined in the router.







                                    share|improve this answer












                                    share|improve this answer



                                    share|improve this answer










                                    answered 2 days ago









                                    Dominik CorniceDominik Cornice

                                    568




                                    568















                                        Popular posts from this blog

                                        How did Captain America manage to do this?

                                        迪纳利

                                        南乌拉尔铁路局