Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

1

How to start openerp as http://sample.openerp:8069 instead of http://localhost:8069

By
Jagdish Panchal
on 11/13/13, 12:42 AM 1,845 views

Hi all,

I want run My openerp on perticular domain, currently i start openerp as http://localhost:8069 but i want use something lilke http://sample.openerp:8069 so how can i do this ?

thanks

5

Anil R. Kesariya

--Anil R. Kesariya--
4321
| 6 5 8
Gandhinagar, India
--Anil R. Kesariya--
ERP Consultant

Key Skill
-
Technical & Functional Expert
Anil R. Kesariya
On 11/13/13, 1:38 AM
# hostname
prod-server
  1. Modify the /etc/hosts file

If you have entries in the /etc/hosts file with the old hostname, you should modify it.

For example, the entry for 127.0.0.1 line in the /etc/hosts file will still show the old hostname. In this example, it shows as dev-server.

$ cat /etc/hosts
127.0.0.1  dev-server localhost.localdomain localhost

Modify this file, and set the new hostname here. For example, change dev-server to prod-server as shown below.

$ cat /etc/hosts
127.0.0.1  prod-server localhost.localdomain localhost
  1. Modify the /etc/sysconfig/network file

The /etc/sysconfig/network file also has an entry for HOSTNAME. Change the value here as shown below.

# cat /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=prod-server
  1. Restart the Network

Restart the network service, if you want any other services that are using the hostname to pickup the changes.

# service network restart
Shutting down interface eth0:        [  OK  ]
Shutting down loopback interface:   [  OK  ]
Bringing up loopback interface:     [  OK  ]
Bringing up interface eth0:          [  OK  ]

If its still not work than restart the system than in startup it will set.

Hope this will help

Regards,

Anil R.K. (SerpentCS)

Thanks for answer anil

Jagdish Panchal
on 11/13/13, 2:10 AM

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

0 follower(s)

Stats

Asked: 11/13/13, 12:42 AM
Seen: 1845 times
Last updated: 3/16/15, 8:10 AM