It would help us help you if you included the domain name and the ip address of your website.
Are you sure that your domain name is correctly configured ?
Correct nameserver setting at your domain registrar ?
Correct configuration of your domain name in your web hosting ?
Have you looked at how the name is set in the database? http://codex.wordpress.org/Changing_The_Site_URL#Changing_the_URL_directly_in_the_database Is it set as the site url here or IP?
Initially, thank you for the responses. It is highly appreciated.
@rossmitchell
Oh yea, forgot to mention that im using a VPS. Il double check my server’s configuration. When I saw my phpinfo() configuration in the PHP Variables it shows an IP address in the $_SERVER[SERVER_NAME] variable instead of a domain. You think that wordpress is using this variable and is causing the problem?
@courtney Engle Robertson
I’ve checked the database after the installation of the wordpress and it resolves to an IP address instead of the domain. And I did tried to change the IP to a domain either by manually accessing the database or through their Configuration->General in wordpress admin panel. It just messes up my css and my admin panel
Thanks again for the responses. Il just update this post with regards to my process. Cheers.
Can you access:
http://yourdomainname/readme.html
It will tell you which wordpress version you are using, it will also confirm that the domain name server settings, and the web server configuration are correct.
It should give the same results as:
http://yourIP/readme.html
What happens when you do both these test from a different computer, such as http://anonymouse.org/
(this is using my domain name e.g. http://www.my.domain.com/wordpress/wp-admin)
I could be way off the mark here but why the /wordpress/ ?
surely it should be http://www.my.domain.com/wp-admin ?
@rossmitchell
Thanks for the response. It seems the problem is caused by an IFRAME. Every time I typed my domain name, an Iframe is being appended to my page that points to my IP address (that is when I right click the site and click view page source). Comparatively, when I type the IP address (instead of the domain) no iframe is being loaded.
@jonowatkins
Im pretty sure I got the directory right and I intentionally have the /wordpress there. Thanks 🙂
So now the problem becomes one of tracking down where the iframe comes from. Then either removing it, OR configuring it.
Does your theme create the iframe ?
Is it a plugin ?
Your browser inspector will give you clues.
Yes the problem resides in iframe. The thing is I cant track where the iframe is coming from. Im using the default theme for wordpress and no plugins were installed during the process. Will try to track to it. Thanks!