How can I install/configure my WordPress to be able to access it via the server URL.You can access your WordPress installation via the server IP with without making any changes. You just type the URL below and change it to suit for your account:
http://serveraddress/~username/path_to_WordPress_installation/
However, in order your links to access the content via the server's URL you should make the following changes:
You should change the 'siteurl' option in your WordPress database. Here is the path to do this change:
Go to cPanel --> 'phpMyAdmin' in the Databases box. Then from the left bar select the database for your WordPress installation
Browse the table 'wp_options' --> Find the options 'siteurl' and 'home'. Change their values to the desired URL.