Help - Search - Members - Calendar
Full Version: Subdomain "www" Problems...
Zymic Webmaster Forums > Zymic Free Web Hosting > Zymic Free Web Hosting - General Discussion & Help
PortaleMedia.NeT
Hi all,

I justa added my domain name to the site portalemedia.zymichost.com and now I can surf throw www.portalemedia.net .

But the website is allways redirecting me to tne "portalemedia.net" domain (without the www), and I prefer my website with that subdomain "www." .


Thanks !!
PortaleMedia.NeT
I have prefixed domain name in vb configuration, dunno where's the problem...

Cheers

PD: I am changing to no-www domain, because users are having some problems...

EDIT: I've noticed that domain name is only available in no-www in the control panel, maybe there's the problem; see:
QUOTE
Custom .com Domain Name

Add a valid domain name (.com, .co.uk etc.). After adding this domain both the domain and previous subdomain will operate on your account. Domains must be registered through an external registrar.
Nameservers: ns1.zymichost.com and ns2.zymichost.com


When I put "www.portalemedia.net" in the input, and click "Confirm" , it is set to "portalemedia.net" (and the www?)
PortaleMedia.NeT
any idea / solution ???
PortaleMedia.NeT
I'm sorry for the re-post, jeje

I've printed all the $_SERVER[] variables thru http://www.portalemedia.net/server.php (note that I'm surfing the www domain...):
PHP CODE
CODE
foreach($_SERVER as $nombre_campo => $valor){
$asignacion = "\$" . $nombre_campo . "='" . $valor . "'";
echo "<br>" . $asignacion;}


RESULT
CODE
$SCRIPT_URL='/server.php'
$SCRIPT_URI='http://portalemedia.net/server.php'
$HTTP_HOST='portalemedia.net'
$HTTP_USER_AGENT='Mozilla/5.0 (Windows; U; Windows NT 5.1; es-ES; rv:1.8.1.7) Gecko/20070914 Firefox/2.0.0.7'
$HTTP_ACCEPT='text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5'
$HTTP_ACCEPT_LANGUAGE='es-es,es;q=0.8,en-us;q=0.5,en;q=0.3'
$HTTP_ACCEPT_ENCODING='gzip,deflate'
$HTTP_ACCEPT_CHARSET='ISO-8859-1,utf-8;q=0.7,*;q=0.7'
$HTTP_COOKIE='bblastactivity=0; __utma=232314654.684834058.1188527072.1191572843.1191576414.156; __utmz=232314654.1191148049.123.8.utmccn=(organic)|utmcsr=google|utmctr=www.portalemedia.net|utmcmd=organic; vbulletin_collapse=forumrules; bblastvisit=1189893807; __utmb=232314654; bbpassword=fac4fc06e82e438d0fb9d8fe640fdb1b; bbuserid=1; __utmc=232314654'
$HTTP_MAX_FORWARDS='10'
$HTTP_VIA='1.1 www.portalemedia.net'
$HTTP_X_FORWARDED_FOR='84.127.204.14'
$HTTP_X_FORWARDED_HOST='www.portalemedia.net'
$HTTP_X_FORWARDED_SERVER='box1.hosting.zymic.com'
$PATH='/usr/local/bin:/usr/bin:/bin'
$SERVER_SIGNATURE=''
$SERVER_SOFTWARE='Apache'
$SERVER_NAME='portalemedia.net'
$SERVER_ADDR='74.86.20.181'
$SERVER_PORT='80'
$REMOTE_ADDR='74.86.20.181'
$DOCUMENT_ROOT='/www/'
$SERVER_ADMIN='webmaster@hosting.zymic.com'
$SCRIPT_FILENAME='/www/net/p/o/r/portalemedia/htdocs/server.php'
$REMOTE_PORT='42539'
$GATEWAY_INTERFACE='CGI/1.1'
$SERVER_PROTOCOL='HTTP/1.1'
$REQUEST_METHOD='GET'
$QUERY_STRING=''
$REQUEST_URI='/server.php'
$SCRIPT_NAME='/server.php'
$PHP_SELF='/server.php'
$REQUEST_TIME='1191576837'


As you can see, my problem is that those two variables are incorrect:
CODE
$SCRIPT_URI='http://portalemedia.net/server.php'
$HTTP_HOST='portalemedia.net'


They has deleted the www subdomain.

Please help me solving this problema, or I will have to change hosting (and don't want to...)

You can also check this:
http://portalemedia.net/server.php

http://www.portalemedia.net/server.php


HELP !!
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2012 Invision Power Services, Inc.