Problem with using TLD

Status
Not open for further replies.

abhi.eternal56

New Member
Messages
7
Reaction score
0
Points
0
Hi. I followed instructions from http://x10hosting.com/wiki/How_to_Use_Your_Own_Domain and set up the nameservers properly in my GoDaddy domain settings; I modified my domain in the x10hosting account as well. However, when I try to access my domain (http://abhijeetdeb.com) instead of my blog, I see a 'Default Web Site Page' with no content and am asked to contact my hosting provider by cPanel. However, I have confirmed that my files are still in my account. Can anyone please check if there is something wrong or do I just need to give it some time to get updated? Abhi.
 
Last edited:

lemon-tree

x10 Minion
Community Support
Messages
1,420
Reaction score
46
Points
48
I can confirm that your domain is working fine at my end (Your latest article is 'Khichdi – The Movie'), so the error is likely due to your computer caching the old DNS settings for your domain. Try clearing your caches in both your browser and your computer and then try again or use a different browser.
Also, you a will need to update the settings for your blog to fix the missing CSS and images files problem. This is a simple fix and requires substituting 'http://abhijeetdeb.elementfx.com' with 'http://abhijeetdeb.com' as your root url in your setup.
 

abhi.eternal56

New Member
Messages
7
Reaction score
0
Points
0
Thanks. I checked earlier & guess it just took some time to get updated. However, I have an issue. With the TLD in place, I was unable to login to my WP admin panel to change the root URL (http://abhijeetdeb.com/wp-admin). Reason: the page was not found. Same case with the sub-domain (http://abhijeetdeb.elementfx.com/wp-admin). As I was unable to login, I reverted back to the sub-domain to log in to my account. Now that I am logged in, I see two options: 'WordPress address' and 'Site address' under General Settings. Which one am I supposed to update? My WP files are under /public_html folder. Do I need to update both the fields with the TLD? How do I log in after I have updated the settings? Do i use http://abhijeetdeb.com/wp-admin? How long the update should take? I am a bit confused. Please help.
 

abhi.eternal56

New Member
Messages
7
Reaction score
0
Points
0
Thanks again. I followed the steps from the link (http://codex.wordpress.org/Changing_The_Site_URL#Changing_the_URL_directly_in_the_database) and got the domain working. The site works now but I am still unable to login. The page (http://abhijeetdeb.elementfx.com/wp-admin) is not loading. I tried http://tinyurl.com/2foy2tu, http://tinyurl.com/34x66os & http://tinyurl.com/2dk8evs but no luck. I also followed instruction from http://codex.wordpress.org/Login_Trouble#Site_URL_Redirecting and confirmed all was fine. I even made the following changes to my login.php file but it dint help -

original:

Code:
if ( defined('RELOCATE') ) { // Move flag is set
	if ( isset( $_SERVER['PATH_INFO'] ) && ($_SERVER['PATH_INFO'] != $_SERVER['PHP_SELF']) )
		$_SERVER['PHP_SELF'] = str_replace( $_SERVER['PATH_INFO'], '', $_SERVER['PHP_SELF'] );

	$schema = is_ssl() ? 'https://' : 'http://';
	if ( dirname($schema . $_SERVER['HTTP_HOST'] . $_SERVER['PHP_SELF']) != get_option('siteurl') )
		update_option('siteurl', dirname($schema . $_SERVER['HTTP_HOST'] . $_SERVER['PHP_SELF']) );
}

modified:

Code:
if ( defined('RELOCATE') ) { // Move flag is set
	if ( isset( $_SERVER['PATH_INFO'] ) && ($_SERVER['PATH_INFO'] != $_SERVER['PHP_SELF']) )
		$_SERVER['PHP_SELF'] = str_replace( $_SERVER['PATH_INFO'], '', $_SERVER['PHP_SELF'] );

	[B]//[/B]$schema = is_ssl() ? 'https://' : 'http://';
	[B]//[/B]if ( dirname($schema . $_SERVER['HTTP_HOST'] . $_SERVER['PHP_SELF']) != get_option('siteurl') )
		[B]//[/B]update_option('siteurl', dirname($schema . $_SERVER['HTTP_HOST'] . $_SERVER['PHP_SELF']) );
}

You can also have a look at my wp-config.php and current theme functions.php files and tell me if I need to change anything. Please help me to log in.
 
Status
Not open for further replies.
Top